aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2020-01-06 21:46:56 +0100
committerKristian Evers <kristianevers@gmail.com>2020-01-07 08:22:16 +0100
commitff15ab6c2d709e6ac230fd0815431d2618e0faef (patch)
tree82c15594a0f5ec641ba92dc2f5f6d182467a055a /cmake
parent529eb50f5d7e817dd27674984050a9bf1a6dce55 (diff)
downloadPROJ-ff15ab6c2d709e6ac230fd0815431d2618e0faef.tar.gz
PROJ-ff15ab6c2d709e6ac230fd0815431d2618e0faef.zip
Remove deprecated JNI bindings
Closes #1757
Diffstat (limited to 'cmake')
-rw-r--r--cmake/ProjConfig.cmake1
-rw-r--r--cmake/proj_config.cmake.in6
2 files changed, 0 insertions, 7 deletions
diff --git a/cmake/ProjConfig.cmake b/cmake/ProjConfig.cmake
index 3f0b3d2e..9f1b4e44 100644
--- a/cmake/ProjConfig.cmake
+++ b/cmake/ProjConfig.cmake
@@ -14,7 +14,6 @@ include(CheckFunctionExists)
# check needed include file
check_include_files(dlfcn.h HAVE_DLFCN_H)
check_include_files(inttypes.h HAVE_INTTYPES_H)
-check_include_files(jni.h HAVE_JNI_H)
check_include_files(memory.h HAVE_MEMORY_H)
check_include_files(stdint.h HAVE_STDINT_H)
check_include_files(stdlib.h HAVE_STDLIB_H)
diff --git a/cmake/proj_config.cmake.in b/cmake/proj_config.cmake.in
index caeb0934..d8385ce9 100644
--- a/cmake/proj_config.cmake.in
+++ b/cmake/proj_config.cmake.in
@@ -4,9 +4,6 @@
/* Define to 1 if you have the <inttypes.h> header file. */
#cmakedefine HAVE_INTTYPES_H 1
-/* Define to 1 if you have the <jni.h> header file. */
-#cmakedefine HAVE_JNI_H 1
-
/* Define to 1 if you have the `m' library (-lm). */
#cmakedefine HAVE_LIBM 1
@@ -40,9 +37,6 @@
/* Define to 1 if you have the <unistd.h> header file. */
#cmakedefine HAVE_UNISTD_H 1
-/* Enabled for Java/JNI Support */
-#cmakedefine JNI_ENABLED 1
-
/* Name of package */
#cmakedefine PACKAGE "${PACKAGE}"