From 0c2b0cc8a4e8f718998b7ab240957c3792f34571 Mon Sep 17 00:00:00 2001 From: Fred Hornsey Date: Tue, 17 Oct 2023 15:26:58 -0500 Subject: [PATCH] Fix Include Directory in CMakeLists See https://github.com/OpenDDS/opendds-monitor/pull/16#discussion_r1353656134 for details --- CMakeLists.txt | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9d9c622..de45f0b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -73,13 +73,13 @@ set(OPENDDS_TARGETS ) target_include_directories(${PROJECT_NAME} PUBLIC - $ - $ + $ + $ ) set_property(TARGET ${PROJECT_NAME} - APPEND PROPERTY PUBLIC_HEADER - ${MANAGER_HEADER} + APPEND PROPERTY PUBLIC_HEADER + ${MANAGER_HEADER} ) target_link_libraries(OpenDDW @@ -92,23 +92,23 @@ OPENDDS_TARGET_SOURCES(OpenDDW idl/std_qos.idl) INCLUDE(CMakePackageConfigHelpers) install(TARGETS ${PROJECT_NAME} - EXPORT ${PROJECT_NAME} + EXPORT ${PROJECT_NAME} - RUNTIME DESTINATION bin - LIBRARY DESTINATION lib - ARCHIVE DESTINATION lib - PUBLIC_HEADER DESTINATION include + RUNTIME DESTINATION bin + LIBRARY DESTINATION lib + ARCHIVE DESTINATION lib + PUBLIC_HEADER DESTINATION include ) INSTALL(EXPORT ${PROJECT_NAME} - NAMESPACE ${PROJECT_TARGET_PREFIX}:: - FILE ${PROJECT_TARGET_FILE} - DESTINATION ${CONFIG_FILE_INSTALL_LOCATION} + NAMESPACE ${PROJECT_TARGET_PREFIX}:: + FILE ${PROJECT_TARGET_FILE} + DESTINATION ${CONFIG_FILE_INSTALL_LOCATION} ) INSTALL(FILES - idl/std_qos.idl - DESTINATION idl + idl/std_qos.idl + DESTINATION idl ) CONFIGURE_PACKAGE_CONFIG_FILE(${PROJECT_PACKAGE_CONFIG_IN_FILE}