From 20c13584026d53cff5b2930a862307a3962143ff Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Mon, 13 May 2013 12:23:06 +0200 Subject: [PATCH] Put generated header files in a separate list. --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 792ebc28..f889e229 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -78,7 +78,7 @@ FILE( vmime/* ) -LIST(APPEND VMIME_LIBRARY_INCLUDE_FILES "vmime/config.hpp") +LIST(APPEND VMIME_LIBRARY_GENERATED_INCLUDE_FILES "vmime/config.hpp") INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR} @@ -110,7 +110,7 @@ IF(VMIME_BUILD_SHARED_LIBRARY) EXPORT_FILE_NAME ${CMAKE_SOURCE_DIR}/vmime/export-shared.hpp ) - LIST(APPEND VMIME_LIBRARY_INCLUDE_FILES "vmime/export-shared.hpp") + LIST(APPEND VMIME_LIBRARY_GENERATED_INCLUDE_FILES "vmime/export-shared.hpp") SET_TARGET_PROPERTIES( ${VMIME_LIBRARY_NAME} @@ -148,7 +148,7 @@ IF(VMIME_BUILD_STATIC_LIBRARY) EXPORT_FILE_NAME ${CMAKE_SOURCE_DIR}/vmime/export-static.hpp ) - LIST(APPEND VMIME_LIBRARY_INCLUDE_FILES "vmime/export-static.hpp") + LIST(APPEND VMIME_LIBRARY_GENERATED_INCLUDE_FILES "vmime/export-static.hpp") SET_TARGET_PROPERTIES( ${VMIME_LIBRARY_NAME}-static