Work around issue with FindJava module
This commit is contained in:
parent
bdf1343f62
commit
4d76145884
|
@ -50,7 +50,7 @@ ENDFOREACH(exe)
|
||||||
FIND_PACKAGE(Java 1.5 COMPONENTS Development) # javac, jar
|
FIND_PACKAGE(Java 1.5 COMPONENTS Development) # javac, jar
|
||||||
|
|
||||||
# Only build the java viewer if dev is found:
|
# Only build the java viewer if dev is found:
|
||||||
if(Java_Development_FOUND)
|
if(Java_Development_FOUND AND Java_JAVAC_EXECUTABLE)
|
||||||
# 1. opj_viewer
|
# 1. opj_viewer
|
||||||
# build dep list:
|
# build dep list:
|
||||||
file(GLOB java1_srcs "opj_viewer/src/*.java")
|
file(GLOB java1_srcs "opj_viewer/src/*.java")
|
||||||
|
|
Loading…
Reference in New Issue