From: Andreas Gaeb Date: Sun, 11 Sep 2011 10:18:03 +0000 (+0200) Subject: cmake: Add headers to library components X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f7cee2ed56ca62cd6768ab842811af13d1e25317;p=simgear.git cmake: Add headers to library components Add headers to library components so that they get included into the IDE project files. --- 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})