diff --git a/CMakeLists.txt b/CMakeLists.txt index a2a6235fbcc..36170bd4d20 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -575,12 +575,12 @@ install(FILES ${PROJECT_SOURCE_DIR}/LICENSE # Install xml validators install(FILES ${PROJECT_SOURCE_DIR}/resources/xsd/fastdds_profiles.xsd - DESTINATION ${DATA_INSTALL_DIR} + DESTINATION ${DATA_INSTALL_DIR}/fastdds COMPONENT xsd ) install(FILES ${PROJECT_SOURCE_DIR}/resources/xsd/fastdds_static_discovery.xsd - DESTINATION ${DATA_INSTALL_DIR} + DESTINATION ${DATA_INSTALL_DIR}/fastdds COMPONENT xsd )