[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:
Geoffrey McRae
2026-08-01 16:48:16 +10:00
parent 82ced18015
commit e671bfd4e7
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -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>"
)
+4
View File
@@ -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
)