diff CMakeLists.txt @ 500:4f972b1f4996

Fix packaging information generation
author Andre Heinecke <aheinecke@intevation.de>
date Fri, 25 Apr 2014 10:29:59 +0000
parents 7a8f5b85fd9a
children 5cd525fc91de
line wrap: on
line diff
--- a/CMakeLists.txt	Fri Apr 25 10:16:46 2014 +0000
+++ b/CMakeLists.txt	Fri Apr 25 10:29:59 2014 +0000
@@ -113,4 +113,8 @@
 add_subdirectory(doc)
 
 # Configure packaging script for testing
+list(GET NSS_LIBRARIES 1 NSS_BASE_DIR)
+get_filename_component(NSS_BASE_DIR ${NSS_BASE_DIR} PATH)
+
+set(NSS_BASE_DIR "${NSS_BASE_DIR}/..")
 configure_file (packaging/tmp-createpackage.sh.in packaging/tmp-createpackage.sh)

http://wald.intevation.org/projects/trustbridge/