From f7cee2ed56ca62cd6768ab842811af13d1e25317 Mon Sep 17 00:00:00 2001 From: Andreas Gaeb Date: Sun, 11 Sep 2011 12:18:03 +0200 Subject: [PATCH] cmake: Add headers to library components Add headers to library components so that they get included into the IDE project files. --- CMakeModules/SimGearComponent.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}) -- 2.39.5