diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-10-20 15:44:05 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-10-20 15:44:05 +0200 |
commit | ccbc06f6041a2688019b5d8a15e7187a4911ee89 (patch) | |
tree | 43bd2f71ed8255b97c3af92b69ba25b084bff690 /src | |
parent | Add Kconfiglib to parse Kconfig/.config (diff) | |
download | smolbote-ccbc06f6041a2688019b5d8a15e7187a4911ee89.tar.xz |
Add cmake manpage target
Diffstat (limited to 'src')
-rw-r--r-- | src/CMakeLists.txt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index fbb71aa..4ae7448 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -72,8 +72,6 @@ else() add_executable(${CONFIG_POI_EXE} ${srclist}) endif() -add_dependencies(${CONFIG_POI_EXE} config_header) - target_include_directories(${CONFIG_POI_EXE} PRIVATE ${Boost_INCLUDE_DIRS} PRIVATE ${PROJECT_SOURCE_DIR}/include @@ -110,3 +108,8 @@ target_compile_definitions(${CONFIG_POI_EXE} ) install(TARGETS ${CONFIG_POI_EXE} RUNTIME DESTINATION ${CONFIG_INSTALL_BINDIR} CONFIGURATIONS Release) +if(UNIX) +install(FILES ${PROJECT_SOURCE_DIR}/data/poi.svg DESTINATION ${CONFIG_INSTALL_ICONDIR}/hicolor/scalable/apps/poi.svg CONFIGURATIONS Release) +install(FILES ${PROJECT_SOURCE_DIR}/linux/poi.desktop DESTINATION ${CONFIG_INSTALL_APPDIR}/poi.desktop CONFIGURATIONS Release) +install(FILES ${PROJECT_SOURCE_DIR}/data/poi.profile DESTINATION ${CONFIG_INSTALL_LIBDIR}/poi.profile CONFIGURATIONS Release) +endif(UNIX) |