summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authoreyedav <88885346+eyedav@users.noreply.github.com>2023-03-17 18:14:29 +0100
committerGitHub <noreply@github.com>2023-03-17 18:14:29 +0100
commit8b7d94cf493ef14134422b768a9ecc5ec7f99cab (patch)
treefeb95a55dc6d6cc606491d14a51a1d07505b19b4
parent0e98b6654e2ee782803c8818400a478e0346036d (diff)
Apply suggestions from code review
Co-authored-by: Stanislaw Halik <sthalik@misaki.pl>
-rw-r--r--tracker-eyeware-beam/CMakeLists.txt9
1 files changed, 6 insertions, 3 deletions
diff --git a/tracker-eyeware-beam/CMakeLists.txt b/tracker-eyeware-beam/CMakeLists.txt
index b9749b19..3a75f61a 100644
--- a/tracker-eyeware-beam/CMakeLists.txt
+++ b/tracker-eyeware-beam/CMakeLists.txt
@@ -2,6 +2,9 @@
# The latest version can be downloaded at https://eyewarecistorage.blob.core.windows.net/beam-sdk/BeamSDK-Windows64-1.1.0.zip
set(SDK_EYEWARE_BEAM "" CACHE PATH "Eyeware Beam SDK path")
if(WIN32 AND SDK_EYEWARE_BEAM)
+ if(MSVC)
+ add_compile_options(-EHsc)
+ endif()
otr_module(tracker-eyeware-beam)
target_include_directories(${self} SYSTEM PRIVATE "${SDK_EYEWARE_BEAM}/API/cpp/include")
@@ -9,9 +12,9 @@ if(WIN32 AND SDK_EYEWARE_BEAM)
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})
+ #message(${self})
+ #message(${dll})
+ #message(${lib})
target_link_libraries(${self} ${lib})
install(FILES ${dll} DESTINATION ${opentrack-libexec})