Fix embarrassing typos

This commit is contained in:
Jeffrey Pfau 2014-10-05 23:18:01 -07:00
parent 4f8c021f95
commit 3a09353ff8

View File

@ -30,8 +30,8 @@ function(find_feature FEATURE_NAME FEATURE_REQUIRES)
find_package(${REQUIRE} QUIET)
pkg_search_module(${REQUIRE} ${REQUIRE})
if (NOT ${REQUIRE}_FOUND)
message(WARNING "Requested module ${REQUIRE} mising for feature {$FEATURE_NAME}. Feature disabled.")
set(FEATURE_NAME OFF PARENT_SCOPE)
message(WARNING "Requested module ${REQUIRE} missing for feature ${FEATURE_NAME}. Feature disabled.")
set(${FEATURE_NAME} OFF PARENT_SCOPE)
return()
endif()
endforeach()