Commit b1b31c94 authored by Ben Boeckel's avatar Ben Boeckel

java: get the list of java modules properly

There's a global property for this; use it.

Change-Id: Ie83f0d44e2547dd4f12264321f5a21d9bda69094
parent 0cf88894
......@@ -77,7 +77,8 @@ if(APPLE)
set(JAVAC_OPTIONS -J-Xmx512m)
endif()
foreach(module ${VTK_MODULES_ENABLED})
get_property(java_modules GLOBAL PROPERTY VTK_JAVA_WRAPPED)
foreach(module IN LISTS java_modules)
if(NOT ${module}_EXCLUDE_FROM_WRAPPING)
include(${${module}_BINARY_DIR}/JavaDependencies.cmake OPTIONAL)
list(APPEND _MODULES_TO_WRAP ${module})
......
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