summaryrefslogtreecommitdiffhomepage
path: root/tracker-eyeware-beam/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tracker-eyeware-beam/CMakeLists.txt')
-rw-r--r--tracker-eyeware-beam/CMakeLists.txt10
1 files changed, 8 insertions, 2 deletions
diff --git a/tracker-eyeware-beam/CMakeLists.txt b/tracker-eyeware-beam/CMakeLists.txt
index 73ea231a..e041c131 100644
--- a/tracker-eyeware-beam/CMakeLists.txt
+++ b/tracker-eyeware-beam/CMakeLists.txt
@@ -7,9 +7,15 @@ if(WIN32 AND SDK_EYEWARE_BEAM)
endif()
otr_module(tracker-eyeware-beam)
+ if("${CMAKE_SIZEOF_VOID_P}" STREQUAL "4")
+ set(arch "x86")
+ else()
+ set(arch "x64")
+ endif()
+
target_include_directories(${self} SYSTEM PRIVATE "${SDK_EYEWARE_BEAM}/API/cpp/include")
- target_link_directories(${self} 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")
+ target_link_directories(${self} PRIVATE "${SDK_EYEWARE_BEAM}/API/cpp/lib/${arch}")
+ set(dll "${SDK_EYEWARE_BEAM}/API/cpp/lib/${arch}/tracker_client.dll")
set(lib tracker_client.lib)
#message(${self})