CMake final fix

This commit is contained in:
DepressedTWM 2026-08-16 12:31:01 +04:00
parent 4e0769d0ff
commit 03adb651bb

View file

@ -348,8 +348,13 @@ if(DEBUG)
-fno-omit-frame-pointer
-Og)
add_compile_options(${OPTIONS_DEBUG})
check_option(ARCH_DEBUG_OPTIONS ${ARCH_DEBUG})
add_compile_options(${ARCH_DEBUG_OPTIONS})
if("${ARCH_DEBUG}" STREQUAL "")
message(STATUS "ARCH_DEBUG empty")
else()
check_option(ARCH_DEBUG_OPTIONS ${ARCH_DEBUG})
add_compile_options(${ARCH_DEBUG_OPTIONS})
endif()
else()
check_option(OPTIONS_RELEASE -O2
-ffast-math
@ -381,8 +386,12 @@ else()
check_option(MEOW_OPT -fno-semantic-interposition)
add_compile_options(${MEOW_OPT})
endif()
check_option(ARCH_RELEASE_OPTIONS ${ARCH_RELEASE})
add_compile_options(${ARCH_RELEASE_OPTIONS})
if("${ARCH_RELEASE}" STREQUAL "")
message(STATUS "ARCH_RELEASE empty")
else()
check_option(ARCH_RELEASE_OPTIONS ${ARCH_RELEASE})
add_compile_options(${ARCH_RELEASE_OPTIONS})
endif()
endif()
if(ANDROID)