Fix installation and dependency generation of header files
authorThomas Jarosch <thomas.jarosch@intra2net.com>
Wed, 11 May 2011 13:12:19 +0000 (15:12 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Wed, 11 May 2011 13:12:19 +0000 (15:12 +0200)
configlib/CMakeLists.txt
src/CMakeLists.txt
utils/CMakeLists.txt
xmllib/CMakeLists.txt

index 027a43c..db4394e 100644 (file)
@@ -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})
 
index 84cc1f2..a29c7a3 100644 (file)
@@ -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})
 
index dbef7f8..533a99c 100644 (file)
@@ -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})
 
index b015555..19dc0b0 100644 (file)
@@ -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})