diff options
author | gregory guy <[email protected]> | 2020-10-20 14:40:51 +0200 |
---|---|---|
committer | gregory guy <[email protected]> | 2021-01-13 18:12:31 +0100 |
commit | 81b64bcfc0a32fdeb0e4f367adbf273d924e55f4 (patch) | |
tree | 9e0903eb2b5cc19a7dcf4874d098a29133d3163c /src/menu/CMakeLists.txt | |
parent | 8b4f72aa0753110a46db9195216f3c88e14a9b69 (diff) | |
download | tork-81b64bcfc0a32fdeb0e4f367adbf273d924e55f4.tar.gz tork-81b64bcfc0a32fdeb0e4f367adbf273d924e55f4.zip |
Conversion to the cmake building system.
Signed-off-by: gregory guy <[email protected]>
Diffstat (limited to 'src/menu/CMakeLists.txt')
-rw-r--r-- | src/menu/CMakeLists.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/menu/CMakeLists.txt b/src/menu/CMakeLists.txt new file mode 100644 index 0000000..a0931ac --- /dev/null +++ b/src/menu/CMakeLists.txt @@ -0,0 +1,10 @@ +##### other data + +string( REGEX REPLACE "^${CMAKE_INSTALL_PREFIX}" "\${prefix}" PC_EXEC_PREFIX ${EXEC_INSTALL_PREFIX} ) + +configure_file( ${PROJECT_NAME}.cmake ${PROJECT_NAME} @ONLY ) + +install( + FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME} + DESTINATION ${SHARE_INSTALL_PREFIX}/menu +) |