Browse Source

modules: minor.

This mistyped variable shouldn't have caused any problem in practice, so
no real bug there.
pull/168/head
Vladimír Vondruš 3 years ago
parent
commit
eaf3ad21c2
  1. 2
      modules/FindMagnum.cmake

2
modules/FindMagnum.cmake

@ -985,7 +985,7 @@ foreach(_component ${Magnum_FIND_COMPONENTS})
endforeach() endforeach()
set_property(TARGET Magnum::${_component} APPEND PROPERTY set_property(TARGET Magnum::${_component} APPEND PROPERTY
INTERFACE_LINK_LIBRARIES Magnum::Magnum) INTERFACE_LINK_LIBRARIES Magnum::Magnum)
set(_MAGNUM_${component}_OPTIONAL_DEPENDENCIES_TO_ADD ) set(_MAGNUM_${_component}_OPTIONAL_DEPENDENCIES_TO_ADD )
foreach(_dependency ${_MAGNUM_${_component}_DEPENDENCIES}) foreach(_dependency ${_MAGNUM_${_component}_DEPENDENCIES})
if(NOT _MAGNUM_${_component}_${_dependency}_DEPENDENCY_IS_OPTIONAL) if(NOT _MAGNUM_${_component}_${_dependency}_DEPENDENCY_IS_OPTIONAL)
set_property(TARGET Magnum::${_component} APPEND PROPERTY set_property(TARGET Magnum::${_component} APPEND PROPERTY

Loading…
Cancel
Save