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
|
||||
-Og)
|
||||
add_compile_options(${OPTIONS_DEBUG})
|
||||
|
||||
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,9 +386,13 @@ else()
|
|||
check_option(MEOW_OPT -fno-semantic-interposition)
|
||||
add_compile_options(${MEOW_OPT})
|
||||
endif()
|
||||
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)
|
||||
add_library(main SHARED
|
||||
|
|
|
|||
Loading…
Reference in a new issue