diff options
author | Robert <krzmbrzl@gmail.com> | 2020-09-23 13:04:01 +0300 |
---|---|---|
committer | Robert Adam <dev@robert-adam.de> | 2020-10-24 16:57:01 +0300 |
commit | b9b41621c5916f15580813ca84774828835a37dc (patch) | |
tree | f6862ac97eb99dc8ba3fe6632bbe37585c90eea5 /overlay_gl | |
parent | e0fe7dca1de995b5908d07968c319ea893f1d7d4 (diff) |
BUILD(cmake): Revamp install paths
Installation paths can now be fine-tuned by setting the respective
MUMBLE_INSTALLATION_* variables when invoking cmake.
Additionally some components that only had install rules for a certain
OS are now installed on all OSes as these components should be needed
there as well.
Diffstat (limited to 'overlay_gl')
-rw-r--r-- | overlay_gl/CMakeLists.txt | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/overlay_gl/CMakeLists.txt b/overlay_gl/CMakeLists.txt index 014e36a54..267da184c 100644 --- a/overlay_gl/CMakeLists.txt +++ b/overlay_gl/CMakeLists.txt @@ -5,8 +5,6 @@ # Overlay payload for UNIX-like systems. -include(GNUInstallDirs) - if(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86_64" OR ${CMAKE_SYSTEM_PROCESSOR} STREQUAL "amd64") option(overlay-xcompile "Build 32 bit overlay library, necessary for the overlay to work with 32 bit processes." ON) endif() @@ -125,7 +123,7 @@ endif() install(TARGETS overlay_gl LIBRARY DESTINATION "${MUMBLE_INSTALL_LIBDIR}") # install overlay script -install(PROGRAMS "${CMAKE_SOURCE_DIR}/scripts/mumble-overlay" DESTINATION bin) +install(PROGRAMS "${CMAKE_SOURCE_DIR}/scripts/mumble-overlay" DESTINATION "${MUMBLE_INSTALL_SCRIPTDIR}") # install overlay man-files -install(FILES "${CMAKE_SOURCE_DIR}/man/mumble-overlay.1" DESTINATION "${CMAKE_INSTALL_MANDIR}/man1" COMPONENT doc) +install(FILES "${CMAKE_SOURCE_DIR}/man/mumble-overlay.1" DESTINATION "${MUMBLE_INSTALL_MANDIR}" COMPONENT doc) |