cmake: Add headers to library components

Add headers to library components so that they get
included into the IDE project files.
This commit is contained in:
Andreas Gaeb
2011-09-14 08:56:17 +02:00
committed by Mathias Froehlich
parent b7173100c8
commit f7cee2ed56
+1 -1
View File
@@ -14,7 +14,7 @@ macro(simgear_component name includePath sources headers)
else() else()
set(libName "sg${name}") set(libName "sg${name}")
add_library(${libName} STATIC ${sources} ) add_library(${libName} STATIC ${sources} ${headers})
install (TARGETS ${libName} ARCHIVE DESTINATION lib${LIB_SUFFIX}) install (TARGETS ${libName} ARCHIVE DESTINATION lib${LIB_SUFFIX})
install (FILES ${headers} DESTINATION include/simgear/${includePath}) install (FILES ${headers} DESTINATION include/simgear/${includePath})