1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-09-03 00:59:47 +02:00

cmake: disable SIMD for glm to enable constexpr for glm types

This commit is contained in:
Anonymous Maarten 2018-09-16 00:49:10 +02:00
parent d1cb0f143c
commit 0923ecad8d

View File

@ -63,6 +63,7 @@ endif()
target_compile_definitions(rw_interface target_compile_definitions(rw_interface
INTERFACE INTERFACE
"$<$<CONFIG:Debug>:RW_DEBUG>" "$<$<CONFIG:Debug>:RW_DEBUG>"
"GLM_FORCE_PURE"
"GLM_FORCE_RADIANS" "GLM_FORCE_RADIANS"
"GLM_ENABLE_EXPERIMENTAL" "GLM_ENABLE_EXPERIMENTAL"
"$<$<BOOL:${RW_VERBOSE_DEBUG_MESSAGES}>:RW_VERBOSE_DEBUG_MESSAGES>" "$<$<BOOL:${RW_VERBOSE_DEBUG_MESSAGES}>:RW_VERBOSE_DEBUG_MESSAGES>"