- Adapted CMake files for the PKCS#11 support

This commit is contained in:
Paul Bakker 2011-01-18 16:18:38 +00:00
parent d61e7d98cb
commit b06819bb5d
6 changed files with 44 additions and 9 deletions

View file

@ -1,5 +1,13 @@
set(libs
polarssl
)
if(USE_PKCS11_HELPER_LIBRARY)
set(libs ${libs} pkcs11-helper)
endif(USE_PKCS11_HELPER_LIBRARY)
add_executable(cert_app cert_app.c)
target_link_libraries(cert_app polarssl)
target_link_libraries(cert_app ${libs})
INSTALL(TARGETS cert_app
DESTINATION "bin"