diff options
author | Davide Mameli <davide@eyeware.tech> | 2023-03-07 12:51:23 +0100 |
---|---|---|
committer | Davide Mameli <davide@eyeware.tech> | 2023-03-07 16:15:16 +0100 |
commit | c8cccf1a21b600efd89258f48ef6dacaf187e96b (patch) | |
tree | 33ef0c896af5dbc9092354bf6e91cabc9b2bbdcb /tracker-eyeware-beam/CMakeLists.txt | |
parent | e8c0b30ff2db91c60b26b90054c16b22dca28956 (diff) |
Initial commit
Diffstat (limited to 'tracker-eyeware-beam/CMakeLists.txt')
-rw-r--r-- | tracker-eyeware-beam/CMakeLists.txt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tracker-eyeware-beam/CMakeLists.txt b/tracker-eyeware-beam/CMakeLists.txt new file mode 100644 index 00000000..b9e85f0d --- /dev/null +++ b/tracker-eyeware-beam/CMakeLists.txt @@ -0,0 +1,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() |