commit | 92eeea4627e2fbf5b5b9e6a67789b7d3dabbfca2 | [log] [tgz] |
---|---|---|
author | Paul Bakker <p.j.bakker@polarssl.org> | Tue Jul 03 15:10:33 2012 +0000 |
committer | Paul Bakker <p.j.bakker@polarssl.org> | Tue Jul 03 15:10:33 2012 +0000 |
tree | 3bbf7928f0fc394b17dd6d1172c1238e5466cc42 | |
parent | 2770fbd651918f64881339e162edbbd261624a59 [diff] [blame] |
- Modified CMakeLists to support zlib
diff --git a/programs/test/CMakeLists.txt b/programs/test/CMakeLists.txt index f00fc9d..c05b903 100644 --- a/programs/test/CMakeLists.txt +++ b/programs/test/CMakeLists.txt
@@ -8,6 +8,10 @@ set(libs ${libs} pkcs11-helper) endif(USE_PKCS11_HELPER_LIBRARY) +if(ENABLE_ZLIB_SUPPORT) + set(libs ${libs} ${ZLIB_LIBRARIES}) +endif(ENABLE_ZLIB_SUPPORT) + add_executable(selftest selftest.c) target_link_libraries(selftest ${libs})