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-11 12:18:03 +02:00
committed by Mathias Froehlich
parent b7173100c8
commit f7cee2ed56

View File

@@ -14,7 +14,7 @@ macro(simgear_component name includePath sources headers)
else()
set(libName "sg${name}")
add_library(${libName} STATIC ${sources} )
add_library(${libName} STATIC ${sources} ${headers})
install (TARGETS ${libName} ARCHIVE DESTINATION lib${LIB_SUFFIX})
install (FILES ${headers} DESTINATION include/simgear/${includePath})