From 35d7d20c8c4d60a50859a75152238c01d96179d2 Mon Sep 17 00:00:00 2001 From: Jiwoong Choi Date: Fri, 28 Feb 2020 09:56:41 +0900 Subject: [PATCH] Minor change --- CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d128d03..91952f8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -22,9 +22,10 @@ include_directories( "." "./third_party/argparse" "./third_party/json/include" - "${TORCH_INCLUDE_DIRS}" + ${OpenCV_INCLUDE_DIRS} + ${TORCH_INCLUDE_DIRS} ) add_executable(demo demo.cpp) -target_link_libraries(demo "${TORCH_LIBRARIES}" "${OpenCV_LIBS}") +target_link_libraries(demo ${OpenCV_LIBRARIES} ${TORCH_LIBRARIES}) set_property(TARGET demo PROPERTY CXX_STANDARD 11)