aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorRichard Levitte <richard@levitte.org>2021-03-30 20:47:16 +0200
committerDmitry Belyavskiy <beldmit@users.noreply.github.com>2021-03-30 23:05:13 +0300
commit1864d62c629579be1d2a3c167769082785f079aa (patch)
treefd9585636bb015d1493e71711050f7296bb86aa4 /CMakeLists.txt
parent96ae017c074fbdb6734b034210e2ce6c0be846ab (diff)
downloadgost-engine-1864d62c629579be1d2a3c167769082785f079aa.zip
gost-engine-1864d62c629579be1d2a3c167769082785f079aa.tar.gz
gost-engine-1864d62c629579be1d2a3c167769082785f079aa.tar.bz2
Install manuals in the correct location
Cmake doesn't support the variable CMAKE_INSTALL_DIR. However, with the GNUInstallDirs module, there is the variable CMAKE_INSTALL_MANDIR.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9768cca..c870045 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -320,7 +320,7 @@ target_link_libraries(test_tlstree PUBLIC ${OPENSSL_CRYPTO_LIBRARY})
# install programs and manuals
install(TARGETS gostsum gost12sum RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
-install(FILES gostsum.1 gost12sum.1 DESTINATION ${CMAKE_INSTALL_DIR}/man1)
+install(FILES gostsum.1 gost12sum.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1)
# install engine in library and module form
install(TARGETS lib_gost_engine EXPORT GostEngineConfig LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})