summaryrefslogtreecommitdiffhomepage
path: root/tracker-wii/CMakeLists.txt
blob: ad7466fd2392ccc579554b42f64f6c216b8f8d15 (plain)
1
2
3
4
5
6
7
8
9
10
if(WIN32)
    include(opentrack-opencv)
    find_package(OpenCV QUIET)
    if(OpenCV_FOUND)
        add_subdirectory(wiiyourself)
        otr_module(tracker-wii)
        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()