From 20f181aef5e306caaf070875bcd845f51571a4ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Monta=C3=B1ana=20G=C3=B3mez?= Date: Wed, 30 Apr 2025 16:54:39 +0200 Subject: [PATCH] Remove bayesnet/CMakelists --- CMakeLists.txt | 14 +++++++++++++- bayesnet/CMakeLists.txt | 9 --------- 2 files changed, 13 insertions(+), 10 deletions(-) delete mode 100644 bayesnet/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index 0c705d2..1c1decd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -72,7 +72,19 @@ find_package(folding CONFIG REQUIRED) # Subdirectories # -------------- add_subdirectory(config) -add_subdirectory(bayesnet) + + +include_directories( + ${bayesnet_SOURCE_DIR} + ${CMAKE_BINARY_DIR}/configured_files/include +) + +file(GLOB_RECURSE Sources "bayesnet/*.cc") + +add_library(bayesnet ${Sources}) +target_link_libraries(bayesnet fimdlp::fimdlp folding::folding "${TORCH_LIBRARIES}") + +# add_subdirectory(bayesnet) # Testing # ------- diff --git a/bayesnet/CMakeLists.txt b/bayesnet/CMakeLists.txt deleted file mode 100644 index 96d3485..0000000 --- a/bayesnet/CMakeLists.txt +++ /dev/null @@ -1,9 +0,0 @@ -include_directories( - ${bayesnet_SOURCE_DIR} - ${CMAKE_BINARY_DIR}/configured_files/include -) - -file(GLOB_RECURSE Sources "*.cc") - -add_library(bayesnet ${Sources}) -target_link_libraries(bayesnet fimdlp::fimdlp folding::folding "${TORCH_LIBRARIES}")