Browse Source

modules: this made no sense.

if(SOMETHING)
        # ...
    else()
        # SOMETHING is not set, this statement does nothing
        unset(SOMETING)
    endif()
pull/107/head
Vladimír Vondruš 11 years ago
parent
commit
c853f39f26
  1. 2
      modules/FindMagnum.cmake

2
modules/FindMagnum.cmake

@ -508,7 +508,7 @@ foreach(component ${Magnum_FIND_COMPONENTS})
list(APPEND _MAGNUM_${_COMPONENT}_DEPENDENCY_LIBRARIES ${MAGNUM_${_DEPENDENCY}_LIBRARY} ${_MAGNUM_${_DEPENDENCY}_LIBRARIES})
list(APPEND _MAGNUM_${_COMPONENT}_DEPENDENCY_INCLUDE_DIRS ${MAGNUM_${_DEPENDENCY}_INCLUDE_DIRS})
else()
unset(MAGNUM_${_DEPENDENCY}_LIBRARY)
unset(MAGNUM_${_COMPONENT}_LIBRARY)
endif()
endforeach()

Loading…
Cancel
Save