changeset 345:fe86c45755d8

Add another hint for nss include lookup. On Ubuntu nspr is installed in it's own subdirectory
author Andre Heinecke <andre.heinecke@intevation.de>
date Thu, 10 Apr 2014 11:11:27 +0200
parents 4454a4dc73a3
children a54925d41056
files cmake/FindNSS.cmake
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/cmake/FindNSS.cmake	Thu Apr 10 10:07:52 2014 +0200
+++ b/cmake/FindNSS.cmake	Thu Apr 10 11:11:27 2014 +0200
@@ -11,7 +11,8 @@
   foreach(include ${NSS_INCLUDES})
 
     find_path(NSS_${include}_INCLUDE ${include}
-      HINTS ${NSS_INCLUDEDIR})
+      HINTS ${NSS_INCLUDEDIR}
+      ${NSS_INCLUDEDIR}/nspr)
 
     if(NSS_${include}_INCLUDE)
       set(NSS_INCLUDE_DIRS ${NSS_INCLUDE_DIRS};${NSS_${include}_INCLUDE})

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