mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-06-28 01:49:42 -06:00
macOS-related CMake cleanups
* Remove useless explicitly specified link/include directories * Don't pass -s or -pie to the linker as they aren't needed
This commit is contained in:
@ -87,7 +87,9 @@ endif()
|
||||
|
||||
if (CMAKE_BUILD_TYPE STREQUAL Release)
|
||||
add_compile_options(-O3)
|
||||
add_link_options(-s)
|
||||
if (NOT APPLE)
|
||||
add_link_options(-s)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if (WIN32)
|
||||
@ -99,7 +101,7 @@ if (BUILD_STATIC AND WIN32)
|
||||
endif()
|
||||
|
||||
if (ENABLE_LTO)
|
||||
if (WIN32)
|
||||
if (WIN32 OR APPLE)
|
||||
add_compile_options(-flto)
|
||||
add_link_options(-flto)
|
||||
else()
|
||||
|
Reference in New Issue
Block a user