diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-03-31 13:28:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-31 13:28:10 +0200 |
commit | 0883d8a05f8f7f16d94516a27bfea9f9913a90be (patch) | |
tree | 886fad833ba2d53be3cce07ab42a7260b85f3f1e | |
parent | 768d1065d6d57145db32ae6daf916340f1ef6a1b (diff) | |
parent | a3bc7974742d7b13428b782c068d53fe024fbdf1 (diff) |
Merge pull request #1636 from eyedav/eyeware_beam_win32_sdk
-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}) |