diff options
author | eyedav <88885346+eyedav@users.noreply.github.com> | 2023-03-30 19:59:26 +0200 |
---|---|---|
committer | eyedav <88885346+eyedav@users.noreply.github.com> | 2023-03-31 10:32:31 +0200 |
commit | a3bc7974742d7b13428b782c068d53fe024fbdf1 (patch) | |
tree | 886fad833ba2d53be3cce07ab42a7260b85f3f1e /tracker-eyeware-beam | |
parent | 768d1065d6d57145db32ae6daf916340f1ef6a1b (diff) |
Tracker Eyeware Beam x86 and x64 builds
Diffstat (limited to 'tracker-eyeware-beam')
-rw-r--r-- | tracker-eyeware-beam/CMakeLists.txt | 10 |
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}) |