UseJava: add INCLUDE_MODULES argument to add_jar Arguments are added to the dependencies list, and to the "--module-path" passed to javac, which is only generated for adequate JDK versions.