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