diff options
-rw-r--r-- | CMakeLists.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 3b81f72..de66d85 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -93,10 +93,10 @@ macro(subdirlist dirlist dirpath) endforeach () endmacro() -#list(APPEND dirlist $ENV{JAVA_HOME}) -#subdirlist(dirlist /usr/lib/jvm) -#subdirlist(dirlist /usr/lib64/jvm) -# +list(APPEND dirlist $ENV{JAVA_HOME}) +subdirlist(dirlist /usr/lib/jvm) +subdirlist(dirlist /usr/lib64/jvm) + #unset(JAVA_HOME_SET) #find_path(JAVA_HOME_SET NAMES include/jni.h PATHS ${dirlist}) #if (NOT JAVA_HOME_SET) |