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:
committed by
Mathias Froehlich
parent
b7173100c8
commit
f7cee2ed56
@@ -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})
|
||||||
|
|||||||
Reference in New Issue
Block a user