Commit fb65ff8f authored by Jan Möbius's avatar Jan Möbius

Added workaround, if found is defined in lowercase for optional dependency

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@15489 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 78850edc
......@@ -156,9 +156,14 @@ macro (_check_plugin_deps _prefix _optional )
if ( ${_REC_DEP}_FOUND )
list (APPEND CURRENT_DEPENDENCY_LIST ${_rec_dep} )
add_definitions( -DENABLE_${_REC_DEP} )
elseif ( ${_rec_dep}_FOUND )
# Lower case definition workaround
list (APPEND CURRENT_DEPENDENCY_LIST ${_rec_dep} )
add_definitions( -DENABLE_${_REC_DEP} )
else()
add_definitions( -DDISABLE_${_REC_DEP} )
endif()
endforeach()
endif()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment