Fix installation and dependency generation of header files
[libi2ncommon] / src / CMakeLists.txt
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})