Browse Source

modules: use HINTS instead of PATHS for find_path().

Because the value is not hardcoded but rather depending on previous
introspection and CMake documentation suggests using different keyword
for this.
pull/126/head
Vladimír Vondruš 11 years ago
parent
commit
e102a776ad
  1. 2
      modules/FindMagnum.cmake

2
modules/FindMagnum.cmake

@ -518,7 +518,7 @@ foreach(component ${Magnum_FIND_COMPONENTS})
if(_MAGNUM_${_COMPONENT}_INCLUDE_PATH_NAMES)
find_path(_MAGNUM_${_COMPONENT}_INCLUDE_DIR
NAMES ${_MAGNUM_${_COMPONENT}_INCLUDE_PATH_NAMES}
PATHS ${MAGNUM_INCLUDE_DIR}/${_MAGNUM_${_COMPONENT}_INCLUDE_PATH_SUFFIX})
HINTS ${MAGNUM_INCLUDE_DIR}/${_MAGNUM_${_COMPONENT}_INCLUDE_PATH_SUFFIX})
endif()
# Add inter-project dependencies, mark the component as not found if

Loading…
Cancel
Save