Commit a0cd1393 authored by Luca Giambonini's avatar Luca Giambonini

fix CMakeLists akabeicore

parent f08ee5ab
...@@ -62,14 +62,12 @@ set(LIB_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lib" CACHE "Akabei library installa ...@@ -62,14 +62,12 @@ set(LIB_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lib" CACHE "Akabei library installa
set(INCLUDES_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/include/akabeicore" CACHE "Akabei includes installation directory" STRING) set(INCLUDES_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/include/akabeicore" CACHE "Akabei includes installation directory" STRING)
set(STATE_DIR "/var" CACHE "Directory to store cache data and log files, usually under ${STATE_DIR}/{cache,log,etc...})" STRING) set(STATE_DIR "/var" CACHE "Directory to store cache data and log files, usually under ${STATE_DIR}/{cache,log,etc...})" STRING)
set(CONFIGURATION_DIR "/etc" CACHE "Directory to store Akabei’s configuration files" STRING) set(CONFIGURATION_DIR "/etc" CACHE "Directory to store Akabei’s configuration files" STRING)
set(CMAKECONFIG_INSTALL_DIR "${CMAKE_INSTALL_LIBDIR}/cmake/akabeicore")
configure_file( configure_file(
"${CMAKE_CURRENT_SOURCE_DIR}/akabeicoreconfig.h.cmake" "${CMAKE_CURRENT_SOURCE_DIR}/akabeicoreconfig.h.cmake"
"${CMAKE_CURRENT_BINARY_DIR}/akabeicoreconfig.h" "${CMAKE_CURRENT_BINARY_DIR}/akabeicoreconfig.h"
IMMEDIATE @ONLY) IMMEDIATE @ONLY)
add_subdirectory(lib) add_subdirectory(lib)
add_subdirectory(tools) add_subdirectory(tools)
add_subdirectory(etc) add_subdirectory(etc)
...@@ -78,6 +76,11 @@ add_subdirectory(translations) ...@@ -78,6 +76,11 @@ add_subdirectory(translations)
include(UseDoxygen) include(UseDoxygen)
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_BINARY_DIR}
)
### Source tarball autogeneration ### ### Source tarball autogeneration ###
set(ARCHIVE_NAME ${CMAKE_PROJECT_NAME}-${AKABEI_VERSION_STRING}) set(ARCHIVE_NAME ${CMAKE_PROJECT_NAME}-${AKABEI_VERSION_STRING})
add_custom_target(dist add_custom_target(dist
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment