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 Aug 7, 2024
1 parent 81e3787 commit e4d1644
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 @@ -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
Expand Down

0 comments on commit e4d1644

Please sign in to comment.