Update tests to last version

This commit is contained in:
2024-03-06 18:04:34 +01:00
parent c8826fc3b4
commit 101fb02da5
3 changed files with 8 additions and 2 deletions

View File

@@ -2,10 +2,12 @@ include_directories(
${PyClassifiers_SOURCE_DIR}/lib/Files
${PyClassifiers_SOURCE_DIR}/lib/BayesNet/lib/json/include
${PyClassifiers_SOURCE_DIR}/lib/BayesNet/src
${PyClassifiers_SOURCE_DIR}/lib/BayesNet/src/classifiers
${PyClassifiers_SOURCE_DIR}/lib/BayesNet/src/bayesian_network
${PyClassifiers_SOURCE_DIR}/lib/BayesNet/src/utils
${CMAKE_BINARY_DIR}/configured_files/include
${Python3_INCLUDE_DIRS}
${TORCH_INCLUDE_DIRS}
)
add_library(PyClassifiers SHARED ${PyClassifiers_SOURCES})
#target_link_libraries(PyClassifiers ${Python3_LIBRARIES} "${TORCH_LIBRARIES}" ${LIBTORCH_PYTHON} Boost::boost Boost::python Boost::numpy xgboost::xgboost)
target_link_libraries(PyClassifiers BayesNet ${Python3_LIBRARIES} "${TORCH_LIBRARIES}" ${LIBTORCH_PYTHON} Boost::boost Boost::python Boost::numpy)