mirror of https://github.com/PCSX2/pcsx2.git
CMake: Throw error when building Qt with PACKAGE_MODE
We don't support this. 1. It doesn't make sense to put data in /usr/share since it's not shared between applications. 2. Makes the application not self-contained for easily being moved/removed. 3. Means you can't have multiple versions installed. 4. Every other platform is self-contained (Windows, Mac).
This commit is contained in:
parent
05bed05afe
commit
6386be09c2
|
@ -5,7 +5,7 @@ set(CMAKE_AUTOUIC ON)
|
||||||
add_executable(pcsx2-qt)
|
add_executable(pcsx2-qt)
|
||||||
|
|
||||||
if (PACKAGE_MODE)
|
if (PACKAGE_MODE)
|
||||||
install(TARGETS pcsx2-qt DESTINATION ${CMAKE_INSTALL_BINDIR})
|
message(FATAL_ERROR "Package mode is not supported for Qt builds.")
|
||||||
else()
|
else()
|
||||||
install(TARGETS pcsx2-qt DESTINATION ${CMAKE_SOURCE_DIR}/bin)
|
install(TARGETS pcsx2-qt DESTINATION ${CMAKE_SOURCE_DIR}/bin)
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue