diff options
author | Ade Lee <alee@redhat.com> | 2012-11-20 11:03:28 -0500 |
---|---|---|
committer | Ade Lee <alee@redhat.com> | 2012-11-20 15:05:10 -0500 |
commit | 9862a04acb57278c3b9f97b7517970cf5078017f (patch) | |
tree | 70042874bd7a50274be377340a4cf3a7c8499b87 /cmake | |
parent | 440a9e7071eaa833a9abeaa3cf6314142fb6e11c (diff) | |
download | pki-9862a04acb57278c3b9f97b7517970cf5078017f.tar.gz pki-9862a04acb57278c3b9f97b7517970cf5078017f.tar.xz pki-9862a04acb57278c3b9f97b7517970cf5078017f.zip |
Updating cmake variables
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/Modules/JUnit.cmake | 2 | ||||
-rw-r--r-- | cmake/Modules/Java.cmake | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/cmake/Modules/JUnit.cmake b/cmake/Modules/JUnit.cmake index 84faa6874..feab6d3ef 100644 --- a/cmake/Modules/JUnit.cmake +++ b/cmake/Modules/JUnit.cmake @@ -55,7 +55,7 @@ function(add_junit_test TARGET_NAME) COMMAND mkdir -p "${REPORTS_DIR}" COMMAND - ${CMAKE_Java_RUNTIME} + ${Java_JAVA_EXECUTABLE} -Djunit.reports.dir=${REPORTS_DIR} -classpath ${CLASSPATH} com.netscape.test.TestRunner diff --git a/cmake/Modules/Java.cmake b/cmake/Modules/Java.cmake index ea74df74b..df006b426 100644 --- a/cmake/Modules/Java.cmake +++ b/cmake/Modules/Java.cmake @@ -77,7 +77,7 @@ function(javac target) -Dfiles="${sources}" -Dexclude="${exclude}" -P ${CMAKE_MODULE_PATH}/JavaFileList.cmake - COMMAND ${CMAKE_Java_COMPILER} + COMMAND ${Java_JAVAC_EXECUTABLE} ${CMAKE_JAVA_COMPILE_FLAGS} -encoding UTF-8 -cp ${native_classpath} @@ -176,7 +176,7 @@ function(jar target) -Dfiles="${files_${i}}" -Dexclude="${exclude_${i}}" -P ${CMAKE_MODULE_PATH}/JavaFileList.cmake - COMMAND ${CMAKE_Java_ARCHIVE} + COMMAND ${Java_JAR_EXECUTABLE} ${operation}${options} ${params} @${file_list_${i}} WORKING_DIRECTORY ${input_dir_${i}} @@ -237,7 +237,7 @@ function(javadoc target) set(separator ";") endif(UNIX) - set(command ${JAVA_DOC} -d ${dest}) + set(command ${Java_JAVADOC_EXECUTABLE} -d ${dest}) if (options) foreach (option ${options}) @@ -320,4 +320,4 @@ function(link target) -E create_symlink ${dest} ${source} ) -endfunction(link)
\ No newline at end of file +endfunction(link) |