mirror of
https://github.com/simple64/simple64.git
synced 2026-11-12 06:18:42 +01:00
update core
This commit is contained in:
1 parent
e9b26dc458
commit
adb772ace9
1 file changed
+9
-2
@@ -131,8 +131,15 @@ endif ()
|
||||
set_property(TARGET mupen64plus PROPERTY C_VISIBILITY_PRESET hidden)
|
||||
set_property(TARGET mupen64plus PROPERTY CXX_VISIBILITY_PRESET hidden)
|
||||
set_property(TARGET mupen64plus PROPERTY VISIBILITY_INLINES_HIDDEN ON)
|
||||
target_compile_options(mupen64plus PRIVATE -march=x86-64-v3 -Ofast)
|
||||
target_link_options(mupen64plus PRIVATE -march=x86-64-v3 -Ofast)
|
||||
target_compile_options(mupen64plus PRIVATE -Ofast)
|
||||
target_link_options(mupen64plus PRIVATE -Ofast)
|
||||
if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64")
|
||||
target_compile_options(mupen64plus PRIVATE -march=armv8-a)
|
||||
target_link_options(mupen64plus PRIVATE -march=armv8-a)
|
||||
else()
|
||||
target_compile_options(mupen64plus PRIVATE -march=x86-64-v3)
|
||||
target_link_options(mupen64plus PRIVATE -march=x86-64-v3)
|
||||
endif()
|
||||
if (NOT APPLE)
|
||||
target_link_options(mupen64plus PRIVATE -Wl,-Bsymbolic -Wl,-Bsymbolic-functions)
|
||||
endif (NOT APPLE)
|
||||
|
||||
Reference in new issue
Block a user