Fix nanomsg prefix in cmake configure table

This commit is contained in:
Dennis Klein 2018-09-19 19:29:38 +02:00 committed by Dennis Klein
parent 60f27b94b2
commit e3c55a0ff8

View File

@ -220,6 +220,9 @@ if(PROJECT_PACKAGE_DEPENDENCIES)
get_filename_component(prefix ${msgpack_include}/.. ABSOLUTE)
elseif(${dep} STREQUAL OFI)
get_filename_component(prefix ${${dep}_INCLUDE_DIRS}/.. ABSOLUTE)
elseif(${dep} STREQUAL nanomsg)
get_target_property(nn_include nanomsg INTERFACE_INCLUDE_DIRECTORIES)
get_filename_component(prefix ${nn_include}/.. ABSOLUTE)
elseif(${dep} STREQUAL Doxygen)
get_target_property(doxygen_bin Doxygen::doxygen INTERFACE_LOCATION)
get_filename_component(prefix ${doxygen_bin} DIRECTORY)