comparison cinst/CMakeLists.txt @ 310:f758460ca437

Merged
author Sascha Wilde <wilde@intevation.de>
date Fri, 04 Apr 2014 09:54:19 +0200
parents 2fd69803d219
children eff8e7ce4dae
comparison
equal deleted inserted replaced
309:fa37384b86b6 310:f758460ca437
4 4
5 include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../common) 5 include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../common)
6 6
7 set(CINST_SOURCES 7 set(CINST_SOURCES
8 ${CMAKE_CURRENT_SOURCE_DIR}/windowsstore.c 8 ${CMAKE_CURRENT_SOURCE_DIR}/windowsstore.c
9 ${CMAKE_CURRENT_SOURCE_DIR}/nssstore_linux.c
9 ${CMAKE_CURRENT_SOURCE_DIR}/main.c 10 ${CMAKE_CURRENT_SOURCE_DIR}/main.c
10 ) 11 )
11 add_executable(cinst ${CINST_SOURCES}) 12 add_executable(cinst ${CINST_SOURCES})
12 13
13 if (WIN32) 14 if (WIN32)
23 install(TARGETS cinst DESTINATION bin) 24 install(TARGETS cinst DESTINATION bin)
24 25
25 # ---------------------------------------------------------------------- 26 # ----------------------------------------------------------------------
26 # Mozilla nss store specific certificate installer: 27 # Mozilla nss store specific certificate installer:
27 28
28 find_package(NSS)
29
30 if(NSS_FOUND) 29 if(NSS_FOUND)
31 include_directories(${NSS_INCLUDE_DIRS}) 30 include_directories(${NSS_INCLUDE_DIRS})
32 set(MOZILLA_SOURCES 31 set(MOZILLA_SOURCES
33 ${CMAKE_CURRENT_SOURCE_DIR}/nss-secitemlist.c 32 ${CMAKE_CURRENT_SOURCE_DIR}/nss-secitemlist.c
34 ${CMAKE_CURRENT_SOURCE_DIR}/mozilla.c 33 ${CMAKE_CURRENT_SOURCE_DIR}/mozilla.c

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