Skip to content

Commit

Permalink
Do not install CMakeLists.txt in loader/register
Browse files Browse the repository at this point in the history
By including the installation of a whole directory in the source code
for loader/register, the buildsystem is installing the CMakeLists.txt
files that are included in these directories. Exclude them from the
final installation by using the EXCLUDE clause in CMake.

Signed-off-by: Jose Luis Rivero <jrivero@osrfoundation.org>
  • Loading branch information
j-rivero committed Sep 12, 2023
1 parent ec0bd40 commit c040e49
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion loader/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ endif()

install(
DIRECTORY include/
DESTINATION ${IGN_INCLUDE_INSTALL_DIR_FULL})
DESTINATION ${IGN_INCLUDE_INSTALL_DIR_FULL}
PATTERN "CMakeLists.txt" EXCLUDE)

#============================================================================
# ign command line support
Expand Down

0 comments on commit c040e49

Please sign in to comment.