summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
authorSamuel Rakitničan <samuel.rakitnican@gmail.com>2018-01-18 12:09:03 +0100
committerSamuel Rakitničan <samuel.rakitnican@gmail.com>2018-01-18 12:09:03 +0100
commit0942867ecc3d437cab8a859e2307c40b69d05297 (patch)
treee74b27e524c21e906ed8735ba1850194a4d0aed8 /application
parente8336babad17741cfaacec7c401db28cdabed623 (diff)
downloadMultiMC-0942867ecc3d437cab8a859e2307c40b69d05297.tar
MultiMC-0942867ecc3d437cab8a859e2307c40b69d05297.tar.gz
MultiMC-0942867ecc3d437cab8a859e2307c40b69d05297.tar.lz
MultiMC-0942867ecc3d437cab8a859e2307c40b69d05297.tar.xz
MultiMC-0942867ecc3d437cab8a859e2307c40b69d05297.zip
GH-2103 Make /usr/local the default prefix for lin-system
/usr/local is a sane default since /usr is meant to be used by packages.
Diffstat (limited to 'application')
-rw-r--r--application/CMakeLists.txt4
1 files changed, 0 insertions, 4 deletions
diff --git a/application/CMakeLists.txt b/application/CMakeLists.txt
index b4978420..63405a37 100644
--- a/application/CMakeLists.txt
+++ b/application/CMakeLists.txt
@@ -393,10 +393,6 @@ elseif(MultiMC_LAYOUT_REAL STREQUAL "lin-nodeps")
install(PROGRAMS package/linux/MultiMC DESTINATION ${BUNDLE_DEST_DIR})
elseif(MultiMC_LAYOUT_REAL STREQUAL "lin-system")
- if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
- SET(CMAKE_INSTALL_PREFIX "/usr" CACHE PATH "Base directory for executables and libraries" FORCE)
- endif()
-
set(MultiMC_BINARY_DEST_DIR "bin" CACHE STRING "Path to the binary directory")
set(MultiMC_LIBRARY_DEST_DIR "lib${LIB_SUFFIX}" CACHE STRING "Path to the library directory")
set(MultiMC_SHARE_DEST_DIR "share/multimc" CACHE STRING "Path to the shared data directory")