From 9368ef42cea4e1e46f22628cffaa29fba66cfec6 Mon Sep 17 00:00:00 2001 From: Endi Sukma Dewata Date: Tue, 25 Sep 2012 00:43:31 -0500 Subject: Added VERSION file. The CMake scripts have been modified to store the version number in /usr/share/pki/VERSION and in JAR manifest files. These files can be read by PKI applications to obtain the version number without having to query the RPM database. Fixed warnings in Java.cmake file. Ticket #339 --- base/ocsp/src/CMakeLists.txt | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'base/ocsp/src/CMakeLists.txt') diff --git a/base/ocsp/src/CMakeLists.txt b/base/ocsp/src/CMakeLists.txt index 34b1ec4c2..2ea6a1536 100644 --- a/base/ocsp/src/CMakeLists.txt +++ b/base/ocsp/src/CMakeLists.txt @@ -91,9 +91,18 @@ javac(pki-ocsp-classes symkey pki-nsutil pki-cmsutil pki-certsrv pki-cms pki-cmscore ) +configure_file( + ${CMAKE_CURRENT_SOURCE_DIR}/pki-ocsp.mf + ${CMAKE_CURRENT_BINARY_DIR}/pki-ocsp.mf +) + jar(pki-ocsp-jar CREATE ${CMAKE_BINARY_DIR}/dist/pki-ocsp-${APPLICATION_VERSION}.jar + OPTIONS + m + PARAMS + ${CMAKE_CURRENT_BINARY_DIR}/pki-ocsp.mf INPUT_DIR ${CMAKE_BINARY_DIR}/classes FILES -- cgit