mirror of https://github.com/PCSX2/pcsx2.git
Build: Don't install pcsx2 core static lib on Linux
This commit is contained in:
parent
2ab6ca06ed
commit
3e24b678c4
|
@ -18,10 +18,12 @@ target_compile_features(PCSX2_FLAGS INTERFACE cxx_std_17)
|
|||
target_compile_definitions(PCSX2_FLAGS INTERFACE "${PCSX2_DEFS}")
|
||||
target_compile_options(PCSX2_FLAGS INTERFACE "${PCSX2_WARNINGS}")
|
||||
|
||||
if (PACKAGE_MODE)
|
||||
install(TARGETS PCSX2 DESTINATION ${CMAKE_INSTALL_BINDIR})
|
||||
else()
|
||||
install(TARGETS PCSX2 DESTINATION ${CMAKE_SOURCE_DIR}/bin)
|
||||
if (NOT PCSX2_CORE)
|
||||
if (PACKAGE_MODE)
|
||||
install(TARGETS PCSX2 DESTINATION ${CMAKE_INSTALL_BINDIR})
|
||||
else()
|
||||
install(TARGETS PCSX2 DESTINATION ${CMAKE_SOURCE_DIR}/bin)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if (openSUSE)
|
||||
|
|
Loading…
Reference in New Issue