Caio Oliveira
8 months ago
No known key found for this signature in database
GPG Key ID: 362DA3DC1901E080
3 changed files with
9 additions and
8 deletions
-
CMakeLists.txt
-
src/core/CMakeLists.txt
-
src/video_core/CMakeLists.txt
|
|
@ -200,6 +200,15 @@ CMAKE_DEPENDENT_OPTION(YUZU_CMD "Compile the eden-cli executable" ON "ENABLE_SDL |
|
|
CMAKE_DEPENDENT_OPTION(YUZU_CRASH_DUMPS "Compile crash dump (Minidump) support" OFF "WIN32 OR LINUX" OFF) |
|
|
CMAKE_DEPENDENT_OPTION(YUZU_CRASH_DUMPS "Compile crash dump (Minidump) support" OFF "WIN32 OR LINUX" OFF) |
|
|
|
|
|
|
|
|
option(YUZU_ENABLE_LTO "Enable link-time optimization" OFF) |
|
|
option(YUZU_ENABLE_LTO "Enable link-time optimization" OFF) |
|
|
|
|
|
if(YUZU_ENABLE_LTO) |
|
|
|
|
|
include(CheckIPOSupported) |
|
|
|
|
|
check_ipo_supported(RESULT COMPILER_SUPPORTS_LTO) |
|
|
|
|
|
if(COMPILER_SUPPORTS_LTO) |
|
|
|
|
|
set(CMAKE_INTERPROCEDURAL_OPTIMIZATION ON) |
|
|
|
|
|
else() |
|
|
|
|
|
set(CMAKE_INTERPROCEDURAL_OPTIMIZATION OFF) |
|
|
|
|
|
endif() |
|
|
|
|
|
endif() |
|
|
|
|
|
|
|
|
option(YUZU_DOWNLOAD_TIME_ZONE_DATA "Always download time zone binaries" ON) |
|
|
option(YUZU_DOWNLOAD_TIME_ZONE_DATA "Always download time zone binaries" ON) |
|
|
|
|
|
|
|
|
|
|
|
@ -1276,8 +1276,4 @@ if (YUZU_USE_PRECOMPILED_HEADERS) |
|
|
target_precompile_headers(core PRIVATE precompiled_headers.h) |
|
|
target_precompile_headers(core PRIVATE precompiled_headers.h) |
|
|
endif() |
|
|
endif() |
|
|
|
|
|
|
|
|
if (YUZU_ENABLE_LTO) |
|
|
|
|
|
set_property(TARGET core PROPERTY INTERPROCEDURAL_OPTIMIZATION TRUE) |
|
|
|
|
|
endif() |
|
|
|
|
|
|
|
|
|
|
|
create_target_directory_groups(core) |
|
|
create_target_directory_groups(core) |
|
|
@ -398,10 +398,6 @@ if (YUZU_USE_PRECOMPILED_HEADERS) |
|
|
target_precompile_headers(video_core PRIVATE precompiled_headers.h) |
|
|
target_precompile_headers(video_core PRIVATE precompiled_headers.h) |
|
|
endif() |
|
|
endif() |
|
|
|
|
|
|
|
|
if (YUZU_ENABLE_LTO) |
|
|
|
|
|
set_property(TARGET video_core PROPERTY INTERPROCEDURAL_OPTIMIZATION TRUE) |
|
|
|
|
|
endif() |
|
|
|
|
|
|
|
|
|
|
|
if (ANDROID AND ARCHITECTURE_arm64) |
|
|
if (ANDROID AND ARCHITECTURE_arm64) |
|
|
target_link_libraries(video_core PRIVATE adrenotools) |
|
|
target_link_libraries(video_core PRIVATE adrenotools) |
|
|
endif() |
|
|
endif() |
|
|
|