Build: Don't install pcsx2 core static lib on Linux

This commit is contained in:
Connor McLaughlin 2022-03-26 20:22:59 +10:00 committed by refractionpcsx2
parent 2ab6ca06ed
commit 3e24b678c4
1 changed files with 6 additions and 4 deletions

View File

@ -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)