update to BayesNet 1.0.3
This commit is contained in:
11
src/CMakeLists.txt
Normal file
11
src/CMakeLists.txt
Normal file
@@ -0,0 +1,11 @@
|
||||
include_directories(
|
||||
${PyClassifiers_SOURCE_DIR}/lib/Files
|
||||
${PyClassifiers_SOURCE_DIR}/lib/BayesNet/lib/json/include
|
||||
${PyClassifiers_SOURCE_DIR}/lib/BayesNet/src
|
||||
${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)
|
Reference in New Issue
Block a user