diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2012-03-28 15:46:20 (GMT) |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2012-03-28 15:46:20 (GMT) |
commit | 2de548ebc4790938c6d1d91ddeec4087cbbf858c (patch) | |
tree | e9ad954b8df92459315ae199234d827e483edeea /cmake | |
parent | 9a631f4fdefe67788522a186be6c20fc109f5534 (diff) | |
download | libkolabxml-2de548ebc4790938c6d1d91ddeec4087cbbf858c.tar.gz |
Install the cmake module to find the correct paths (so it is available for libkolab)
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/modules/CMakeLists.txt | 5 | ||||
-rw-r--r-- | cmake/modules/FindKolabInternal.cmake | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/cmake/modules/CMakeLists.txt b/cmake/modules/CMakeLists.txt new file mode 100644 index 0000000..94ebe09 --- /dev/null +++ b/cmake/modules/CMakeLists.txt @@ -0,0 +1,5 @@ + +include(FindKolabInternal.cmake) + +install(FILES FindKolabInternal.cmake DESTINATION ${KOLAB_CMAKE_MODULE_INSTALL_DIR} ) + diff --git a/cmake/modules/FindKolabInternal.cmake b/cmake/modules/FindKolabInternal.cmake index 19ba440..b187875 100644 --- a/cmake/modules/FindKolabInternal.cmake +++ b/cmake/modules/FindKolabInternal.cmake @@ -53,3 +53,6 @@ else() set(KOLAB_HEADER_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/include/kolab") endif() message("KOLAB_HEADER_INSTALL_DIR: ${KOLAB_HEADER_INSTALL_DIR}") + +set(KOLAB_DATA_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/share/apps") +set(KOLAB_CMAKE_MODULE_INSTALL_DIR ${KOLAB_DATA_INSTALL_DIR}/cmake/modules ) |