mirror of
https://github.com/rmontanana/mdlp.git
synced 2025-08-15 23:45:57 +00:00
16 lines
360 B
CMake
16 lines
360 B
CMake
set(CMAKE_CXX_STANDARD 17)
|
|
|
|
set(CMAKE_BUILD_TYPE Debug)
|
|
|
|
find_package(Torch REQUIRED)
|
|
|
|
include_directories(
|
|
${fimdlp_SOURCE_DIR}/src
|
|
${fimdlp_SOURCE_DIR}/tests/lib/Files
|
|
${CMAKE_BINARY_DIR}/configured_files/include
|
|
${libtorch_INCLUDE_DIRS_RELEASE}
|
|
)
|
|
|
|
add_executable(sample sample.cpp )
|
|
target_link_libraries(sample PRIVATE fimdlp torch::torch)
|