mirror of
https://github.com/eosswedenorg/antelope-keygen
synced 2026-06-17 03:50:03 +02:00
CMake: set CMAKE_INSTALL_SHAREDIR
This commit is contained in:
parent
6edcd2d66a
commit
f907beba35
1 changed files with 3 additions and 1 deletions
|
|
@ -18,6 +18,8 @@ list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules")
|
|||
# Use installpath from GNUInstallDirs as default.
|
||||
include(GNUInstallDirs)
|
||||
|
||||
set( CMAKE_INSTALL_SHAREDIR ${CMAKE_INSTALL_DATADIR}/${CMAKE_PROJECT_NAME} )
|
||||
|
||||
# --------------------------------
|
||||
# Program
|
||||
# --------------------------------
|
||||
|
|
@ -117,7 +119,7 @@ endif (WIN32)
|
|||
# --------------------------------
|
||||
|
||||
install(FILES README.md LICENSE LICENSE.bitcoin
|
||||
DESTINATION ${CMAKE_INSTALL_DATADIR}/${CMAKE_PROJECT_NAME})
|
||||
DESTINATION ${CMAKE_INSTALL_SHAREDIR})
|
||||
|
||||
configure_file( docs/eosio-keygen.1.in
|
||||
${PROJECT_BINARY_DIR}/man1/eosio-keygen.1 )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue