mariadb/cmake/FindJava.cmake
2016-09-12 17:46:35 +02:00

8 lines
194 B
CMake

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})