blob: 95bbf8682cd9c36cbf6e822a6411fb849a0ef6a8 (
plain)
1
2
3
4
5
6
7
8
|
if(DEFINED Java_JAVA_EXECUTABLE)
return()
endif()
set(orig_CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH})
unset(CMAKE_MODULE_PATH)
include(FindJava)
set(CMAKE_MODULE_PATH ${orig_CMAKE_MODULE_PATH})
|