summaryrefslogtreecommitdiffhomepage
path: root/tracker-wii/CMakeLists.txt
blob: ced3ba5046038944b966bc7904cf227a9dd600f1 (plain)
1
2
3
4
5
6
7
8
9
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()