comparison 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
comparison
equal deleted inserted replaced
1:247cffdc9b89 2:a945361df361
4 # This file is Free Software under the GNU GPL (v>=2) 4 # This file is Free Software under the GNU GPL (v>=2)
5 # and comes with ABSOLUTELY NO WARRANTY! 5 # and comes with ABSOLUTELY NO WARRANTY!
6 # See LICENSE.txt for details. 6 # See LICENSE.txt for details.
7 7
8 if (NOT EXISTS "${NSS_STATIC_PATH}") 8 if (NOT EXISTS "${NSS_STATIC_PATH}")
9 message (STATUS "using current source ${NSS_STATIC_PATH}")
9 set (NSS_STATIC_PATH ${CMAKE_CURRENT_SOURCE_DIR}) 10 set (NSS_STATIC_PATH ${CMAKE_CURRENT_SOURCE_DIR})
10 endif() 11 endif()
11 12
12 set(NSS_INCLUDE_DIRS 13 set(NSS_INCLUDE_DIRS
13 ${CMAKE_CURRENT_BINARY_DIR} 14 ${CMAKE_CURRENT_BINARY_DIR}
36 ) 37 )
37 38
38 set(NSS_LIBRARIES nss_static nspr_static) 39 set(NSS_LIBRARIES nss_static nspr_static)
39 40
40 if (WIN32) 41 if (WIN32)
41 set(NSS_LIBRARIES ${NSS_LIBARIES} winmm ws2_32) 42 set(NSS_LIBRARIES ${NSS_LIBRARIES} winmm ws2_32)
42 endif() 43 endif()
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)