diff --git a/src/cpp/CMakeLists.txt b/src/cpp/CMakeLists.txt index d26915242ad..1e0e5909912 100644 --- a/src/cpp/CMakeLists.txt +++ b/src/cpp/CMakeLists.txt @@ -571,7 +571,6 @@ set_public_header(${PROJECT_BINARY_DIR}/include ${PROJECT_NAME} config.h INSTALL ) - # Install external sources if(UNIX AND EPROSIMA_INSTALLER) set_public_header(${TINYXML2_INCLUDE_DIR} "" tinyxml2.h @@ -616,6 +615,13 @@ if(UNIX AND EPROSIMA_INSTALLER) ) endif() +# Install public statistics idls +install(DIRECTORY ${PROJECT_SOURCE_DIR}/include/fastdds/statistics + DESTINATION ${INCLUDE_INSTALL_DIR}/fastdds + FILES_MATCHING + PATTERN "*.idl" + ) + # Install libraries # Generate different target names depending on linking