mirror of https://github.com/PCSX2/pcsx2.git
CMake: Fix LTO_PCSX2_CORE + DISABLE_ADVANCE_SIMD
This commit is contained in:
parent
1a383de5c4
commit
d47c9b0773
|
@ -1577,6 +1577,9 @@ if(LTO_PCSX2_CORE)
|
||||||
if (WIN32)
|
if (WIN32)
|
||||||
target_compile_definitions(PCSX2_LTO PRIVATE _M_SSE=0x401)
|
target_compile_definitions(PCSX2_LTO PRIVATE _M_SSE=0x401)
|
||||||
endif()
|
endif()
|
||||||
|
if (DISABLE_ADVANCE_SIMD)
|
||||||
|
target_compile_definitions(PCSX2_LTO PRIVATE MULTI_ISA_SHARED_COMPILATION)
|
||||||
|
endif()
|
||||||
target_link_libraries(PCSX2_LTO PRIVATE PCSX2_FLAGS)
|
target_link_libraries(PCSX2_LTO PRIVATE PCSX2_FLAGS)
|
||||||
target_link_libraries(PCSX2 PRIVATE PCSX2_LTO)
|
target_link_libraries(PCSX2 PRIVATE PCSX2_LTO)
|
||||||
set_target_properties(PCSX2_LTO PROPERTIES INTERPROCEDURAL_OPTIMIZATION true)
|
set_target_properties(PCSX2_LTO PROPERTIES INTERPROCEDURAL_OPTIMIZATION true)
|
||||||
|
|
Loading…
Reference in New Issue