summaryrefslogtreecommitdiffstats
path: root/Modules/UseJava.cmake
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@sap.com>2015-12-03 11:35:37 (GMT)
committerBrad King <brad.king@kitware.com>2015-12-03 14:24:26 (GMT)
commit56c11eee13604e163eb5a5d9092df405be0e9a5c (patch)
tree87d544301e21eb0009f0378309ac19afe0452d38 /Modules/UseJava.cmake
parent6f6897f1aef884963503d8068707cf27fa7d99e7 (diff)
downloadCMake-56c11eee13604e163eb5a5d9092df405be0e9a5c.zip
CMake-56c11eee13604e163eb5a5d9092df405be0e9a5c.tar.gz
CMake-56c11eee13604e163eb5a5d9092df405be0e9a5c.tar.bz2
UseJava: Allow relative path to manifest file just as with other sources
Diffstat (limited to 'Modules/UseJava.cmake')
-rw-r--r--Modules/UseJava.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/UseJava.cmake b/Modules/UseJava.cmake
index dced6ec..6146d78 100644
--- a/Modules/UseJava.cmake
+++ b/Modules/UseJava.cmake
@@ -444,7 +444,7 @@ function(add_jar _TARGET_NAME)
if (_add_jar_MANIFEST)
set(_MANIFEST_OPTION m)
- set(_MANIFEST_VALUE ${_add_jar_MANIFEST})
+ get_filename_component (_MANIFEST_VALUE "${_add_jar_MANIFEST}" ABSOLUTE)
endif ()
if (LIBRARY_OUTPUT_PATH)