Skip to content

Commit

Permalink
Minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiwoong Choi committed Feb 28, 2020
1 parent 35bad66 commit 35d7d20
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 35d7d20

Please sign in to comment.