Browse Source

modules: updated FindCorrade.cmake.

pull/15/head
Vladimír Vondruš 4 years ago
parent
commit
4fe9d385dc
  1. 2
      modules/FindCorrade.cmake

2
modules/FindCorrade.cmake

@ -529,7 +529,7 @@ foreach(_component ${Corrade_FIND_COMPONENTS})
set_property(TARGET Corrade::${_component} APPEND PROPERTY set_property(TARGET Corrade::${_component} APPEND PROPERTY
COMPATIBLE_INTERFACE_NUMBER_MAX CORRADE_CXX_STANDARD) COMPATIBLE_INTERFACE_NUMBER_MAX CORRADE_CXX_STANDARD)
# Directory::libraryLocation() needs this # Path::libraryLocation() needs this
if(CORRADE_TARGET_UNIX) if(CORRADE_TARGET_UNIX)
set_property(TARGET Corrade::${_component} APPEND PROPERTY set_property(TARGET Corrade::${_component} APPEND PROPERTY
INTERFACE_LINK_LIBRARIES ${CMAKE_DL_LIBS}) INTERFACE_LINK_LIBRARIES ${CMAKE_DL_LIBS})

Loading…
Cancel
Save