Skip to content

Commit

Permalink
Move Component config before others to fix include folders.
Browse files Browse the repository at this point in the history
When it's at the end CMake treats  and
as additional include directories when generating the
citygmlConfigInternal.cmake file. This is clearly wrong.
  • Loading branch information
gostefan committed Sep 16, 2024
1 parent abab556 commit c657724
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -262,12 +262,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
Expand Down

0 comments on commit c657724

Please sign in to comment.