summaryrefslogtreecommitdiffhomepage
path: root/tracker-rift-140/CMakeLists.txt
blob: 278effe2b48721af7ad9b6bea0ffd33ba2804414 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
if(WIN32)
    SET(SDK_RIFT_140 "" CACHE PATH "libOVR 1.4.0 path for Oculus Rift")
    if(SDK_RIFT_140)
        include_directories("${SDK_RIFT_140}/Include")
        if(opentrack-64bit)
            link_directories("${SDK_RIFT_140}/Lib/Windows/x64/Release/VS2017")
        else()
            link_directories("${SDK_RIFT_140}/Lib/Windows/Win32/Release/VS2017")
        endif()
        link_libraries(LibOVR winmm setupapi ws2_32 imagehlp wbemuuid)

        otr_module(tracker-rift)
    endif()
endif()