Skip to content

Commit

Permalink
CMake: Remove unneeded dependency on Java AWT
Browse files Browse the repository at this point in the history
  • Loading branch information
dbaston committed Aug 27, 2024
1 parent 6adfcfb commit 442ca9d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmake/helpers/CheckDependentLibraries.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -808,6 +808,8 @@ endif()

# finding python in top of project because of common for autotest and bindings

set(JAVA_AWT_LIBRARY NotNeeded)
set(JAVA_AWT_INCLUDE_PATH NotNeeded)
find_package(JNI)
find_package(Java COMPONENTS Runtime Development)
find_program(
Expand Down

0 comments on commit 442ca9d

Please sign in to comment.