summaryrefslogtreecommitdiffstats
path: root/Modules/FindJNI.cmake
diff options
context:
space:
mode:
authorChristian Pfeiffer <cpfeiffer@live.de>2017-11-20 15:21:49 (GMT)
committerChristian Pfeiffer <cpfeiffer@live.de>2017-11-20 15:21:49 (GMT)
commitf88ef9a9b853b4d85010d9281393b5e0fca058d7 (patch)
tree6e5f01b6924e3d0c0854712ee5a968863d36fa88 /Modules/FindJNI.cmake
parent85ae0ba796c26b9ba2f7025e267d3f438db388c6 (diff)
downloadCMake-f88ef9a9b853b4d85010d9281393b5e0fca058d7.zip
CMake-f88ef9a9b853b4d85010d9281393b5e0fca058d7.tar.gz
CMake-f88ef9a9b853b4d85010d9281393b5e0fca058d7.tar.bz2
Modules: Remove paths set as global Unix prefixes
This commit removes hardcoded paths that are already given in the platform files or in `UnixPath` on a global level.
Diffstat (limited to 'Modules/FindJNI.cmake')
-rw-r--r--Modules/FindJNI.cmake4
1 files changed, 0 insertions, 4 deletions
diff --git a/Modules/FindJNI.cmake b/Modules/FindJNI.cmake
index 96e3e21..c4601a1 100644
--- a/Modules/FindJNI.cmake
+++ b/Modules/FindJNI.cmake
@@ -126,8 +126,6 @@ list(APPEND JAVA_AWT_LIBRARY_DIRECTORIES
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\${java_install_version};JavaHome]/lib"
)
JAVA_APPEND_LIBRARY_DIRECTORIES(JAVA_AWT_LIBRARY_DIRECTORIES
- /usr/lib
- /usr/local/lib
/usr/lib/jvm/java/lib
/usr/lib/java/jre/lib/{libarch}
/usr/lib/jvm/jre/lib/{libarch}
@@ -185,8 +183,6 @@ list(APPEND JAVA_AWT_INCLUDE_DIRECTORIES
)
JAVA_APPEND_LIBRARY_DIRECTORIES(JAVA_AWT_INCLUDE_DIRECTORIES
- /usr/include
- /usr/local/include
/usr/lib/java/include
/usr/local/lib/java/include
/usr/lib/jvm/java/include