Commit 17d0ef46 authored by Hans-Christian Ebke's avatar Hans-Christian Ebke
Browse files

Introduced PLUGIN_${plugin}_MISSING_DEPS cmake variables.


git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@13136 383ad7c9-94d9-4d36-a494-682f7c89f535
parent f0519919
......@@ -45,6 +45,9 @@
# The files in this directory will be compiled by nvcc and linked
# into the plugin
#
# The variables PLUGIN_${plugin}_MISSING_DEPS indicate whether any mandatory
# dependencies of the respective plugins are missing.
#
include (ACGCommon)
......@@ -618,10 +621,12 @@ function (_build_openflipper_plugin plugin)
list (APPEND trans_files ${${_PLUGIN}_TRANSLATION_ADDFILES})
acg_add_translations(Plugin-${plugin} ${${_PLUGIN}_TRANSLATION_LANGUAGES} "${trans_files}" )
endif ()
set(PLUGIN_${plugin}_MISSING_DEPS FALSE PARENT_SCOPE)
else ()
message (STATUS "[WARNING] One or more dependencies for plugin ${plugin} not found. Skipping plugin.")
message (STATUS "Missing dependencies :${_${_PLUGIN}_MISSING_DEPS}")
set(PLUGIN_${plugin}_MISSING_DEPS TRUE PARENT_SCOPE)
endif ()
endfunction ()
......
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