mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-19 13:29:54 +00:00
CMake final fix
This commit is contained in:
parent
4e0769d0ff
commit
03adb651bb
1 changed files with 13 additions and 4 deletions
|
|
@ -348,8 +348,13 @@ if(DEBUG)
|
||||||
-fno-omit-frame-pointer
|
-fno-omit-frame-pointer
|
||||||
-Og)
|
-Og)
|
||||||
add_compile_options(${OPTIONS_DEBUG})
|
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()
|
else()
|
||||||
check_option(OPTIONS_RELEASE -O2
|
check_option(OPTIONS_RELEASE -O2
|
||||||
-ffast-math
|
-ffast-math
|
||||||
|
|
@ -381,8 +386,12 @@ else()
|
||||||
check_option(MEOW_OPT -fno-semantic-interposition)
|
check_option(MEOW_OPT -fno-semantic-interposition)
|
||||||
add_compile_options(${MEOW_OPT})
|
add_compile_options(${MEOW_OPT})
|
||||||
endif()
|
endif()
|
||||||
check_option(ARCH_RELEASE_OPTIONS ${ARCH_RELEASE})
|
if("${ARCH_RELEASE}" STREQUAL "")
|
||||||
add_compile_options(${ARCH_RELEASE_OPTIONS})
|
message(STATUS "ARCH_RELEASE empty")
|
||||||
|
else()
|
||||||
|
check_option(ARCH_RELEASE_OPTIONS ${ARCH_RELEASE})
|
||||||
|
add_compile_options(${ARCH_RELEASE_OPTIONS})
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(ANDROID)
|
if(ANDROID)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue