diff --git a/CMakeModules/SimGearComponent.cmake b/CMakeModules/SimGearComponent.cmake index 3eb5740a..c10e6764 100644 --- a/CMakeModules/SimGearComponent.cmake +++ b/CMakeModules/SimGearComponent.cmake @@ -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})