summaryrefslogtreecommitdiffhomepage
path: root/tracker-eyeware-beam/CMakeLists.txt
blob: b9e85f0db9cebb80830dec38a09d15ecc7c21b25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
set(SDK_EYEWARE_BEAM "" CACHE PATH "Eyeware Beam SDK path")
if(WIN32 AND SDK_EYEWARE_BEAM)
    otr_module(tracker-eyeware-beam)

    target_include_directories(${self} SYSTEM PRIVATE "${SDK_EYEWARE_BEAM}/API/cpp/include")
    target_link_directories(${self} SYSTEM PRIVATE "${SDK_EYEWARE_BEAM}/API/cpp/lib")
    set(dll "${SDK_EYEWARE_BEAM}/API/cpp/lib/tracker_client.dll" "${SDK_EYEWARE_BEAM}/API/cpp/lib/libsodium.dll")
    set(lib tracker_client)

    message(${self})
    message(${dll})
    message(${lib})

    target_link_libraries(${self} ${lib})
    install(FILES ${dll} DESTINATION ${opentrack-libexec})
endif()