summaryrefslogtreecommitdiffhomepage
path: root/cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-02-22 15:25:11 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-02-22 15:25:11 +0100
commitefa67b82596088515872d4e879ee7a0917078cf8 (patch)
tree3ea53672e6fe1f0c94a4c12600620f30b0f6dc0c /cmake
parent7de0f46028e964bd7b7979835ef0a80cf8cb01b7 (diff)
cmake: fix build error
Diffstat (limited to 'cmake')
-rw-r--r--cmake/opentrack-platform.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/opentrack-platform.cmake b/cmake/opentrack-platform.cmake
index 99589a76..da500aff 100644
--- a/cmake/opentrack-platform.cmake
+++ b/cmake/opentrack-platform.cmake
@@ -129,6 +129,7 @@ if(MSVC)
add_definitions(-D_HAS_EXCEPTIONS=0)
add_definitions(-D_ENABLE_EXTENDED_ALIGNED_STORAGE)
+ add_definitions(-D_ENABLE_ATOMIC_ALIGNMENT_FIX)
add_definitions(-D_SILENCE_CXX17_NEGATORS_DEPRECATION_WARNING)
add_definitions(-D_SILENCE_CXX17_ADAPTOR_TYPEDEFS_DEPRECATION_WARNING)