Update CMakeLists.txt

This commit is contained in:
Kae 2024-12-28 13:42:00 +11:00
parent 6b49f382e3
commit 75ff3cbba9

View File

@ -232,7 +232,7 @@ IF(STAR_PRECOMPILED_HEADERS)
ENDIF()
IF(STAR_COMPILER STREQUAL "gnu")
SET_SOURCE_FILES_PROPERTIES(StarImageScaling.cpp PROPERTIES COMPILE_FLAGS "-O2")
SET_SOURCE_FILES_PROPERTIES(StarImageScaling.cpp PROPERTIES COMPILE_FLAGS "-O2 -fno-trapping-math -fno-unsafe-math-optimizations")
ENDIF()
IF(STAR_USE_JEMALLOC AND JEMALLOC_IS_PREFIXED)