From 082fc1fe0485aacc26b7761d03fe3e80f6809112 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Fri, 12 Jun 2015 20:50:12 +0200 Subject: [PATCH] Display also all headers in project view of IDEs. --- src/MagnumPlugins/MagnumFont/CMakeLists.txt | 4 +++- src/MagnumPlugins/MagnumFontConverter/CMakeLists.txt | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/MagnumPlugins/MagnumFont/CMakeLists.txt b/src/MagnumPlugins/MagnumFont/CMakeLists.txt index e91405250..e77f1674e 100644 --- a/src/MagnumPlugins/MagnumFont/CMakeLists.txt +++ b/src/MagnumPlugins/MagnumFont/CMakeLists.txt @@ -30,7 +30,9 @@ set(MagnumFont_HEADERS MagnumFont.h) # Objects shared between plugin and test library -add_library(MagnumFontObjects OBJECT ${MagnumFont_SRCS}) +add_library(MagnumFontObjects OBJECT + ${MagnumFont_SRCS} + ${MagnumFont_HEADERS}) if(NOT BUILD_PLUGINS_STATIC OR BUILD_STATIC_PIC) set_target_properties(MagnumFontObjects PROPERTIES POSITION_INDEPENDENT_CODE ON) endif() diff --git a/src/MagnumPlugins/MagnumFontConverter/CMakeLists.txt b/src/MagnumPlugins/MagnumFontConverter/CMakeLists.txt index af66c6084..0fd471cd2 100644 --- a/src/MagnumPlugins/MagnumFontConverter/CMakeLists.txt +++ b/src/MagnumPlugins/MagnumFontConverter/CMakeLists.txt @@ -30,7 +30,9 @@ set(MagnumFontConverter_HEADERS MagnumFontConverter.h) # Objects shared between plugin and test library -add_library(MagnumFontConverterObjects OBJECT ${MagnumFontConverter_SRCS}) +add_library(MagnumFontConverterObjects OBJECT + ${MagnumFontConverter_SRCS} + ${MagnumFontConverter_HEADERS}) if(NOT BUILD_PLUGINS_STATIC OR BUILD_STATIC_PIC) set_target_properties(MagnumFontConverterObjects PROPERTIES POSITION_INDEPENDENT_CODE ON) endif()