diff cinst/CMakeLists.txt @ 68:8ffbb48528ae

Add certificate installation for windows
author Andre Heinecke <aheinecke@intevation.de>
date Tue, 18 Mar 2014 18:28:15 +0000
parents 3f6378647371
children 7e2d08555112
line wrap: on
line diff
--- a/cinst/CMakeLists.txt	Tue Mar 18 18:26:14 2014 +0000
+++ b/cinst/CMakeLists.txt	Tue Mar 18 18:28:15 2014 +0000
@@ -14,7 +14,12 @@
 )
 
 add_executable(cinst ${CINST_SOURCES})
+if (WIN32)
+   set(WIN_EXTRA_LIBS -lcrypt32)
+endif(WIN32)
 
 target_link_libraries(cinst
    ${PROFILING_LIBS}
-   ${POLARSSL_LIBRARIES})
+   ${POLARSSL_LIBRARIES}
+   ${WIN_EXTRA_LIBS})
+

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