Mercurial > trustbridge
comparison cinst/CMakeLists.txt @ 1288:265583011f24
(issue123) Add possibility to open native certificate dialog
This is currently only implemented for windows.
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Mon, 29 Sep 2014 13:12:58 +0200 |
parents | 60927efa48cc |
children |
comparison
equal
deleted
inserted
replaced
1287:d3d66d43365f | 1288:265583011f24 |
---|---|
28 | 28 |
29 add_executable(trustbridge-certificate-installer ${trustbridge-certificate-installer_SOURCES}) | 29 add_executable(trustbridge-certificate-installer ${trustbridge-certificate-installer_SOURCES}) |
30 | 30 |
31 if (WIN32) | 31 if (WIN32) |
32 set(WIN_EXTRA_LIBS -lcrypt32 -luserenv -lshell32) | 32 set(WIN_EXTRA_LIBS -lcrypt32 -luserenv -lshell32) |
33 set(WIN_EXTRA_LIBS_NSS -lcrypt32) | |
33 endif(WIN32) | 34 endif(WIN32) |
34 | 35 |
35 target_link_libraries(trustbridge-certificate-installer | 36 target_link_libraries(trustbridge-certificate-installer |
36 trustbridge_common | 37 trustbridge_common |
37 ${PROFILING_LIBS} | 38 ${PROFILING_LIBS} |
85 add_executable(trustbridge-nss-installer ${trustbridge-nss-installer_SOURCES}) | 86 add_executable(trustbridge-nss-installer ${trustbridge-nss-installer_SOURCES}) |
86 target_link_libraries(trustbridge-nss-installer | 87 target_link_libraries(trustbridge-nss-installer |
87 trustbridge_common | 88 trustbridge_common |
88 ${POLARSSL_LIBRARIES} | 89 ${POLARSSL_LIBRARIES} |
89 ${NSS_LIBRARIES} | 90 ${NSS_LIBRARIES} |
90 ${PROFILING_LIBS}) | 91 ${PROFILING_LIBS} |
92 ${WIN_EXTRA_LIBS_NSS}) | |
91 set_target_properties(trustbridge-nss-installer PROPERTIES COMPILE_FLAGS "-std=c99") | 93 set_target_properties(trustbridge-nss-installer PROPERTIES COMPILE_FLAGS "-std=c99") |
92 install(TARGETS trustbridge-nss-installer DESTINATION bin) | 94 install(TARGETS trustbridge-nss-installer DESTINATION bin) |
93 | 95 |
94 if (WIN32) | 96 if (WIN32) |
95 add_custom_command( | 97 add_custom_command( |