mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
dc9498beb6
This reverts commit 1d0e3d80d8
.
13 lines
285 B
CMake
13 lines
285 B
CMake
if(Java_JAVA_EXECUTABLE)
|
|
set(JAVA_FOUND TRUE)
|
|
return()
|
|
endif()
|
|
if(DEFINED Java_JAVA_EXECUTABLE)
|
|
set(JAVA_FOUND FALSE)
|
|
return()
|
|
endif()
|
|
|
|
set(orig_CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH})
|
|
unset(CMAKE_MODULE_PATH)
|
|
include(FindJava)
|
|
set(CMAKE_MODULE_PATH ${orig_CMAKE_MODULE_PATH})
|