diff --git a/loader/CMakeLists.txt b/loader/CMakeLists.txt index 8da87c8..a470220 100644 --- a/loader/CMakeLists.txt +++ b/loader/CMakeLists.txt @@ -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 diff --git a/register/CMakeLists.txt b/register/CMakeLists.txt index 0b34921..43e5086 100644 --- a/register/CMakeLists.txt +++ b/register/CMakeLists.txt @@ -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)