Fix conan build and remove vcpkg

This commit is contained in:
2025-07-01 13:56:28 +02:00
parent 3178bcbda9
commit 3cb454d4aa
20 changed files with 101 additions and 320 deletions

View File

@@ -11,25 +11,6 @@ find_package(arff-files CONFIG REQUIRED)
find_package(nlohmann_json REQUIRED)
find_package(bayesnet CONFIG REQUIRED)
# option(USING_VCPKG "Use vcpkg config for BayesNet" OFF)
# option(USING_CONAN "Use Conan config for BayesNet" OFF)
# if (USING_VCPKG OR USING_CONAN)
# message(STATUS "Using BayesNet vcpkg config")
# find_package(bayesnet CONFIG REQUIRED)
# set(BayesNet_LIBRARIES bayesnet::bayesnet)
# else(USING_VCPKG)
# message(STATUS "Using BayesNet local library config")
# find_library(bayesnet NAMES libbayesnet bayesnet libbayesnet.a PATHS ${Platform_SOURCE_DIR}/../lib/lib REQUIRED)
# find_path(Bayesnet_INCLUDE_DIRS REQUIRED NAMES bayesnet PATHS ${Platform_SOURCE_DIR}/../lib/include)
# add_library(bayesnet::bayesnet UNKNOWN IMPORTED)
# set_target_properties(bayesnet::bayesnet PROPERTIES
# IMPORTED_LOCATION ${bayesnet}
# INTERFACE_INCLUDE_DIRECTORIES ${Bayesnet_INCLUDE_DIRS}
# )
# endif(USING_VCPKG)
# message(STATUS "BayesNet: ${bayesnet}")
add_executable(bayesnet_sample sample.cc)
target_link_libraries(bayesnet_sample PRIVATE
fimdlp::fimdlp