mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-14 10:10:12 +01:00
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:
1 parent
05bed05afe
commit
6386be09c2
1 file changed
+1
-1
@@ -5,7 +5,7 @@ set(CMAKE_AUTOUIC ON)
|
||||
add_executable(pcsx2-qt)
|
||||
|
||||
if (PACKAGE_MODE)
|
||||
install(TARGETS pcsx2-qt DESTINATION ${CMAKE_INSTALL_BINDIR})
|
||||
message(FATAL_ERROR "Package mode is not supported for Qt builds.")
|
||||
else()
|
||||
install(TARGETS pcsx2-qt DESTINATION ${CMAKE_SOURCE_DIR}/bin)
|
||||
endif()
|
||||
|
||||
Reference in new issue
Block a user