mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-10-12 02:14:24 +00:00
[client] tests: dont use fast math
Clang C and C++ produce slightly different powf rounding with fast math, for testing disable it.
This commit is contained in:
@@ -49,6 +49,10 @@ set_target_properties(render-tests PROPERTIES
|
||||
CXX_STANDARD_REQUIRED ON
|
||||
)
|
||||
|
||||
target_compile_options(render-tests PRIVATE
|
||||
-fno-fast-math
|
||||
)
|
||||
|
||||
target_compile_definitions(render-tests PRIVATE
|
||||
LG_CLIENT_PATH="$<TARGET_FILE:looking-glass-client>"
|
||||
)
|
||||
|
||||
@@ -5,6 +5,10 @@ add_library(transport_Test STATIC
|
||||
test.c
|
||||
)
|
||||
|
||||
target_compile_options(transport_Test PRIVATE
|
||||
-fno-fast-math
|
||||
)
|
||||
|
||||
target_link_libraries(transport_Test
|
||||
lg_common
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user