From e4d1644bed9524cccda64a6344d0c6bda6a44b53 Mon Sep 17 00:00:00 2001 From: Stefan Goetschi Date: Wed, 7 Aug 2024 22:53:10 +0200 Subject: [PATCH] Move Component config before others to fix include folders. When it's at the end CMake treats and as additional include directories when generating the citygmlConfigInternal.cmake file. This is clearly wrong. --- sources/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/CMakeLists.txt b/sources/CMakeLists.txt index 5aa1e952..96bfc36f 100644 --- a/sources/CMakeLists.txt +++ b/sources/CMakeLists.txt @@ -261,12 +261,12 @@ endif() INSTALL( TARGETS ${target} + COMPONENT "runtime" EXPORT citygmlConfigInternal RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} INCLUDES DESTINATION ${INCLUDE_INSTALL_DIR} - COMPONENT "runtime" ) INSTALL( EXPORT citygmlConfigInternal