mirror of
https://github.com/hyprwm/hyprpicker.git
synced 2024-12-22 06:09:48 +01:00
CMake: ensure the manpage location is correct (#86)
This commit is contained in:
parent
cbd963e103
commit
38fe668e58
1 changed files with 4 additions and 0 deletions
|
@ -137,6 +137,10 @@ if(CMAKE_BUILD_TYPE MATCHES Debug OR CMAKE_BUILD_TYPE MATCHES DEBUG)
|
|||
"${CMAKE_SHARED_LINKER_FLAGS} -pg -no-pie -fno-builtin")
|
||||
endif(CMAKE_BUILD_TYPE MATCHES Debug OR CMAKE_BUILD_TYPE MATCHES DEBUG)
|
||||
|
||||
if(NOT DEFINED CMAKE_INSTALL_MANDIR)
|
||||
set(CMAKE_INSTALL_MANDIR "${CMAKE_INSTALL_PREFIX}/share/man")
|
||||
endif()
|
||||
|
||||
install(TARGETS hyprpicker)
|
||||
install(FILES ${CMAKE_SOURCE_DIR}/doc/hyprpicker.1
|
||||
DESTINATION ${CMAKE_INSTALL_MANDIR}/man1)
|
||||
|
|
Loading…
Reference in a new issue