diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-02-05 03:52:57 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-02-05 03:52:57 +0100 |
commit | 574ce54af4d17af1903f3e221b7b51803978b5da (patch) | |
tree | 1f1b35bc5e338948d01c4c1601fd36a83b9387e4 /tracker-wii | |
parent | 906b50a33bdd98ef42def15807dcda4d82c27909 (diff) |
tracker/wii: disable for Linux and OSX
Diffstat (limited to 'tracker-wii')
-rw-r--r-- | tracker-wii/CMakeLists.txt | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/tracker-wii/CMakeLists.txt b/tracker-wii/CMakeLists.txt index 3e372161..ced3ba50 100644 --- a/tracker-wii/CMakeLists.txt +++ b/tracker-wii/CMakeLists.txt @@ -1,7 +1,9 @@ -find_package(OpenCV 3.0 QUIET) -if(OpenCV_FOUND) - add_subdirectory(wiiyourself) - otr_module(tracker-wii) - target_link_libraries(opentrack-tracker-wii opentrack-tracker-pt-base opentrack-wiiyourself) - target_include_directories(opentrack-tracker-wii PRIVATE "${CMAKE_SOURCE_DIR}/tracker-pt") +if(WIN32) + find_package(OpenCV 3.0 QUIET) + if(OpenCV_FOUND) + add_subdirectory(wiiyourself) + otr_module(tracker-wii) + target_link_libraries(opentrack-tracker-wii opentrack-tracker-pt-base opentrack-wiiyourself) + target_include_directories(opentrack-tracker-wii PRIVATE "${CMAKE_SOURCE_DIR}/tracker-pt") + endif() endif() |