diff options
author | Marc Chevrier <marc.chevrier@sap.com> | 2015-12-03 11:35:37 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-12-03 14:24:26 (GMT) |
commit | 56c11eee13604e163eb5a5d9092df405be0e9a5c (patch) | |
tree | 87d544301e21eb0009f0378309ac19afe0452d38 | |
parent | 6f6897f1aef884963503d8068707cf27fa7d99e7 (diff) | |
download | CMake-56c11eee13604e163eb5a5d9092df405be0e9a5c.zip CMake-56c11eee13604e163eb5a5d9092df405be0e9a5c.tar.gz CMake-56c11eee13604e163eb5a5d9092df405be0e9a5c.tar.bz2 |
UseJava: Allow relative path to manifest file just as with other sources
-rw-r--r-- | Modules/UseJava.cmake | 2 |
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) |