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 c040e49 commit 615caee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion register/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ ign_add_component(register INTERFACE)

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

0 comments on commit 615caee

Please sign in to comment.