mirror of
https://github.com/rmontanana/mdlp.git
synced 2025-08-15 23:45:57 +00:00
Compiling right
This commit is contained in:
@@ -28,6 +28,7 @@ endif()
|
||||
|
||||
if (ENABLE_TESTING)
|
||||
message("Debug mode")
|
||||
|
||||
enable_testing()
|
||||
set(CODE_COVERAGE ON)
|
||||
set(GCC_COVERAGE_LINK_FLAGS "${GCC_COVERAGE_LINK_FLAGS} -lgcov --coverage")
|
||||
@@ -47,7 +48,7 @@ include_directories(
|
||||
)
|
||||
|
||||
add_library(fimdlp src/CPPFImdlp.cpp src/Metrics.cpp src/BinDisc.cpp src/Discretizer.cpp)
|
||||
target_link_libraries(fimdlp torch::torch)
|
||||
target_link_libraries(fimdlp PRIVATE torch::torch)
|
||||
|
||||
# Installation
|
||||
# ------------
|
||||
|
Reference in New Issue
Block a user