mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-19 20:19:13 +12:00
Fix LTO linking
This commit is contained in:
parent
3b57275776
commit
4f93735b65
1 changed files with 4 additions and 4 deletions
|
@ -424,10 +424,6 @@ if(ANDROID)
|
|||
target_link_libraries(AlberCore PRIVATE EGL log)
|
||||
endif()
|
||||
|
||||
if(ENABLE_LTO OR ENABLE_USER_BUILD)
|
||||
set_target_properties(AlberCore PROPERTIES INTERPROCEDURAL_OPTIMIZATION TRUE)
|
||||
endif()
|
||||
|
||||
target_link_libraries(AlberCore PRIVATE dynarmic cryptopp glad resources_console_fonts teakra)
|
||||
target_link_libraries(AlberCore PUBLIC glad)
|
||||
|
||||
|
@ -522,3 +518,7 @@ elseif(BUILD_HYDRA_CORE)
|
|||
target_link_libraries(Alber PUBLIC AlberCore)
|
||||
else()
|
||||
endif()
|
||||
|
||||
if(ENABLE_LTO OR ENABLE_USER_BUILD)
|
||||
set_target_properties(Alber PROPERTIES INTERPROCEDURAL_OPTIMIZATION TRUE)
|
||||
endif()
|
Loading…
Add table
Add a link
Reference in a new issue