Files
pkgsrc-ng/security/polarssl/patches/patch-programs_test_CMakeLists.txt
2016-01-21 23:40:00 +01:00

15 lines
335 B
Plaintext

$NetBSD: patch-programs_test_CMakeLists.txt,v 1.1 2015/03/28 19:00:28 rodent Exp $
Make OpenSSL optional.
--- programs/test/CMakeLists.txt.orig 2015-03-28 18:49:58.000000000 +0000
+++ programs/test/CMakeLists.txt
@@ -1,4 +1,6 @@
-FIND_PACKAGE(OpenSSL)
+if(ENABLE_TESTING)
+ FIND_PACKAGE(OpenSSL)
+endif()
set(libs
polarssl