summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt
index e4749bc..ac6c610 100644
--- a/Source/CMakeLists.txt
+++ b/Source/CMakeLists.txt
@@ -664,7 +664,7 @@ IF(BUILD_TESTING)
"${JNIPATH}/../include"
"${JNIPATH}/../java/include")
IF(JNI_H)
- FILE(READ ${JNI_H} JNI_FILE)
+ FILE(READ "${JNI_H}" JNI_FILE)
IF("${JNI_FILE}" MATCHES JDK1_2)
ADD_TEST(Java ${CMAKE_CTEST_COMMAND}
--build-and-test