summaryrefslogtreecommitdiff
path: root/cmake/FindJNI.cmake
blob: fb2f4801a70c536bc37b7268258634dc93cd01bf (plain)
1
2
3
4
5
6
7
8
if(DEFINED JAVA_AWT_LIBRARY)
  return()
endif()

set(orig_CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH})
unset(CMAKE_MODULE_PATH)
include(FindJNI)
set(CMAKE_MODULE_PATH ${orig_CMAKE_MODULE_PATH})