diff options
author | Brad King <brad.king@kitware.com> | 2001-07-17 13:54:05 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2001-07-17 13:54:05 (GMT) |
commit | c5381e85885c289d0669d5f3ddb5e3d2d3d2e5dd (patch) | |
tree | 38db367769adf553aebb21dac1b04b3a177e352b /Modules/FindJNI.cmake | |
parent | e169953e923907706439c60033ce983729c2e404 (diff) | |
download | CMake-c5381e85885c289d0669d5f3ddb5e3d2d3d2e5dd.zip CMake-c5381e85885c289d0669d5f3ddb5e3d2d3d2e5dd.tar.gz CMake-c5381e85885c289d0669d5f3ddb5e3d2d3d2e5dd.tar.bz2 |
ENH: Added support for using backslash-style escaping in CMakeLists.txt file arguments. This allows double quotes to be used in arguments.
Diffstat (limited to 'Modules/FindJNI.cmake')
-rw-r--r-- | Modules/FindJNI.cmake | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Modules/FindJNI.cmake b/Modules/FindJNI.cmake index c75d60e..c4a2a4c 100644 --- a/Modules/FindJNI.cmake +++ b/Modules/FindJNI.cmake @@ -10,14 +10,14 @@ FIND_LIBRARY(JAVA_AWT_LIBRARY jawt PATHS /usr/lib /usr/local/lib - "[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit\1.3;JavaHome]/lib" + "[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\1.3;JavaHome]/lib" ) # add in the include path FIND_PATH(JAVA_INCLUDE_PATH jni.h /usr/include /usr/local/include - "[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit\1.3;JavaHome]/include" + "[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\1.3;JavaHome]/include" ) FIND_PATH(JAVA_INCLUDE_PATH2 jni_md.h @@ -26,5 +26,3 @@ FIND_PATH(JAVA_INCLUDE_PATH2 jni_md.h ) FIND_PATH(JAVE_AWT_INCLUDE_PATH jawt.h ${JAVA_INCLUDE_PATH} ) - - |