From 57cee5f6d5f03de0b9228cbd6afeae367c8500a9 Mon Sep 17 00:00:00 2001 From: Thomas Jarosch Date: Wed, 11 May 2011 15:12:19 +0200 Subject: [PATCH] Fix installation and dependency generation of header files --- configlib/CMakeLists.txt | 2 +- src/CMakeLists.txt | 4 ++-- utils/CMakeLists.txt | 2 +- xmllib/CMakeLists.txt | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/configlib/CMakeLists.txt b/configlib/CMakeLists.txt index 027a43c..db4394e 100644 --- a/configlib/CMakeLists.txt +++ b/configlib/CMakeLists.txt @@ -8,7 +8,7 @@ set(cpp_headers i2n_global_config.hpp ) -add_library(i2ncommon_config SHARED ${cpp_sources} ${hpp_sources}) +add_library(i2ncommon_config SHARED ${cpp_sources} ${cpp_headers}) set_target_properties(i2ncommon_config PROPERTIES VERSION ${VERSION} SOVERSION ${MAJOR_VERSION}) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 84cc1f2..a29c7a3 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -26,7 +26,7 @@ SET(cpp_sources week.cpp ) -SET(hpp_sources +SET(cpp_headers cron.hpp daemonfunc.hpp exception.hxx @@ -55,7 +55,7 @@ SET(hpp_sources week.hpp ) -add_library(i2ncommon SHARED ${cpp_sources} ${hpp_sources}) +add_library(i2ncommon SHARED ${cpp_sources} ${cpp_headers}) target_link_libraries(i2ncommon ${Boost_IOSTREAMS_LIBRARIES} ${ICONV_LIBRARIES}) diff --git a/utils/CMakeLists.txt b/utils/CMakeLists.txt index dbef7f8..533a99c 100644 --- a/utils/CMakeLists.txt +++ b/utils/CMakeLists.txt @@ -10,7 +10,7 @@ set(cpp_headers signalfunc.hpp ) -add_library(i2ncommon_utils SHARED ${cpp_sources} ${hpp_sources}) +add_library(i2ncommon_utils SHARED ${cpp_sources} ${cpp_headers}) set_target_properties(i2ncommon_utils PROPERTIES VERSION ${VERSION} SOVERSION ${MAJOR_VERSION}) diff --git a/xmllib/CMakeLists.txt b/xmllib/CMakeLists.txt index b015555..19dc0b0 100644 --- a/xmllib/CMakeLists.txt +++ b/xmllib/CMakeLists.txt @@ -12,7 +12,7 @@ set(cpp_headers xmlcommon.hpp ) -add_library(i2ncommon_xml SHARED ${cpp_sources} ${hpp_sources}) +add_library(i2ncommon_xml SHARED ${cpp_sources} ${cpp_headers}) target_link_libraries(i2ncommon_xml ${Xmlpp_LIBRARIES}) -- 1.7.1