diff --git a/CMakeLists.txt b/CMakeLists.txt index 510cbef..2937834 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -53,7 +53,7 @@ endif() target_compile_options(OpenDDW PRIVATE $<$,$,$>: -Wall -Wextra -Wpedantic -Wno-unused> $<$: /W4>) set(OPENDDS_TARGETS - OpenDDS::OpenDDS + OpenDDS::Rtps_Udp ) target_include_directories(OpenDDW INTERFACE src) @@ -66,6 +66,6 @@ target_link_libraries(OpenDDW OPENDDS_TARGET_SOURCES(OpenDDW idl/std_qos.idl) INSTALL(FILES - "${CMAKE_SOURCE_DIR}/idl2library.cmake" - DESTINATION "share/cmake/${PROJECT_NAME}" + "${PROJECT_SOURCE_DIR}/idl2library.cmake" + DESTINATION "share/cmake/${PROJECT_NAME}" )