From: Thomas Jarosch Date: Wed, 11 May 2011 13:12:19 +0000 (+0200) Subject: Fix installation and dependency generation of header files X-Git-Tag: v2.6~67 X-Git-Url: http://developer.intra2net.com/git/?a=commitdiff_plain;h=57cee5f6d5f03de0b9228cbd6afeae367c8500a9;p=libi2ncommon Fix installation and dependency generation of header files --- 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})