view nss-cmake-static.cmake @ 2:a945361df361

Fix NSS_LIBRARIES variable
author Andre Heinecke <andre.heinecke@intevation.de>
date Wed, 30 Jul 2014 16:20:44 +0200
parents 247cffdc9b89
children
line wrap: on
line source
# Copyright (C) 2014 by Bundesamt für Sicherheit in der Informationstechnik
# Software engineering by Intevation GmbH
#
# This file is Free Software under the GNU GPL (v>=2)
# and comes with ABSOLUTELY NO WARRANTY!
# See LICENSE.txt for details.

if (NOT EXISTS "${NSS_STATIC_PATH}")
   message (STATUS "using current source ${NSS_STATIC_PATH}")
   set (NSS_STATIC_PATH ${CMAKE_CURRENT_SOURCE_DIR})
endif()

set(NSS_INCLUDE_DIRS
   ${CMAKE_CURRENT_BINARY_DIR}
   ${NSS_STATIC_PATH}/sqlite
   ${NSS_STATIC_PATH}/nspr/pr/include
   ${NSS_STATIC_PATH}/nspr/pr/include/private
   ${NSS_STATIC_PATH}/nspr/lib/ds
   ${NSS_STATIC_PATH}/nspr/lib/libc/include

   ${NSS_STATIC_PATH}/nss/lib/base
   ${NSS_STATIC_PATH}/nss/lib/certdb
   ${NSS_STATIC_PATH}/nss/lib/certhigh
   ${NSS_STATIC_PATH}/nss/lib/cryptohi
   ${NSS_STATIC_PATH}/nss/lib/dev
   ${NSS_STATIC_PATH}/nss/lib/freebl
   ${NSS_STATIC_PATH}/nss/lib/freebl/ecl
   ${NSS_STATIC_PATH}/nss/lib/freebl/mpi
   ${NSS_STATIC_PATH}/nss/lib/nss
   ${NSS_STATIC_PATH}/nss/lib/pk11wrap
   ${NSS_STATIC_PATH}/nss/lib/pkcs7
   ${NSS_STATIC_PATH}/nss/lib/pki
   ${NSS_STATIC_PATH}/nss/lib/smime
   ${NSS_STATIC_PATH}/nss/lib/softoken
   ${NSS_STATIC_PATH}/nss/lib/ssl
   ${NSS_STATIC_PATH}/nss/lib/util
)

set(NSS_LIBRARIES nss_static nspr_static)

if (WIN32)
   set(NSS_LIBRARIES ${NSS_LIBRARIES} winmm ws2_32)
endif()
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)