mirror of
https://github.com/rmontanana/mdlp.git
synced 2025-08-16 07:55:58 +00:00
Compiling right
This commit is contained in:
@@ -2,14 +2,15 @@ set(CMAKE_CXX_STANDARD 17)
|
||||
|
||||
set(CMAKE_BUILD_TYPE Debug)
|
||||
|
||||
find_package(Torch REQUIRED)
|
||||
find_package(arff-files REQUIRED)
|
||||
|
||||
include_directories(
|
||||
${fimdlp_SOURCE_DIR}/src
|
||||
${fimdlp_SOURCE_DIR}/tests/lib/Files
|
||||
${CMAKE_BINARY_DIR}/configured_files/include
|
||||
${libtorch_INCLUDE_DIRS_RELEASE}
|
||||
${arff-files_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
add_executable(sample sample.cpp )
|
||||
target_link_libraries(sample PRIVATE fimdlp torch::torch)
|
||||
add_executable(sample sample.cpp)
|
||||
target_link_libraries(sample PRIVATE fimdlp torch::torch arff-files::arff-files)
|
||||
|
Reference in New Issue
Block a user