summaryrefslogtreecommitdiffhomepage
path: root/tracker-wii/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tracker-wii/CMakeLists.txt')
-rw-r--r--tracker-wii/CMakeLists.txt7
1 files changed, 3 insertions, 4 deletions
diff --git a/tracker-wii/CMakeLists.txt b/tracker-wii/CMakeLists.txt
index f43dca55..76a43a77 100644
--- a/tracker-wii/CMakeLists.txt
+++ b/tracker-wii/CMakeLists.txt
@@ -1,10 +1,9 @@
if(WIN32)
- find_package(OpenCV QUIET)
+ find_package(OpenCV 3.0 QUIET)
if(OpenCV_FOUND)
add_subdirectory(wiiyourself)
otr_module(tracker-wii)
- target_link_libraries(${self} opentrack-tracker-pt-base opentrack-wiiyourself bthprops)
- target_include_directories(${self} PRIVATE SYSTEM "${CMAKE_CURRENT_SOURCE_DIR}/wiiyourself")
- target_include_directories(${self} PRIVATE "${CMAKE_SOURCE_DIR}/tracker-pt")
+ target_link_libraries(opentrack-tracker-wii opentrack-tracker-pt-base opentrack-wiiyourself bthprops)
+ target_include_directories(opentrack-tracker-wii PRIVATE "${CMAKE_SOURCE_DIR}/tracker-pt")
endif()
endif()