CMake: Simplify summary of DDS dependency

This commit is contained in:
Dennis Klein 2019-07-17 20:00:02 +02:00 committed by Dennis Klein
parent afadb2a078
commit 0b43bec9a7

View File

@ -281,8 +281,7 @@ if(PROJECT_PACKAGE_DEPENDENCIES)
get_target_property(nn_include nanomsg INTERFACE_INCLUDE_DIRECTORIES)
get_filename_component(prefix ${nn_include}/.. ABSOLUTE)
elseif(${dep} STREQUAL DDS)
get_target_property(dds_include DDS::dds_intercom_lib INTERFACE_INCLUDE_DIRECTORIES)
get_filename_component(prefix ${dds_include}/.. ABSOLUTE)
set(prefix "${DDS_INSTALL_PREFIX}")
elseif(${dep} STREQUAL Boost)
if(TARGET Boost::headers)
get_target_property(boost_include Boost::headers INTERFACE_INCLUDE_DIRECTORIES)