From 2510a5e6f98360bb7cd4a52ecf2274656fe75dcc Mon Sep 17 00:00:00 2001 From: kinichiro Date: Thu, 7 Apr 2016 15:08:12 +0900 Subject: modify cmake to build nc - modify structure of CMakeLists.txt under apps/ * move apps/CMakeLists.txt to apps/openssl/ since this is for openssl build * create new apps/nc/CMakeLists.txt for nc build * modify apps/CMakeLists.txt just add_subdirectory() - add checking and compile of arc4random_uniform() - add installing man files, openssl.1 and nc.1 --- crypto/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'crypto') diff --git a/crypto/CMakeLists.txt b/crypto/CMakeLists.txt index 904e69f..24c6821 100644 --- a/crypto/CMakeLists.txt +++ b/crypto/CMakeLists.txt @@ -631,6 +631,10 @@ if(NOT HAVE_ARC4RANDOM_BUF) endif() endif() +if(NOT HAVE_ARC4RANDOM_UNIFORM) + set(CRYPTO_SRC ${CRYPTO_SRC} compat/arc4random_uniform.c) +endif() + if(NOT HAVE_TIMINGSAFE_BCMP) set(CRYPTO_SRC ${CRYPTO_SRC} compat/timingsafe_bcmp.c) endif() -- cgit v1.2.3-55-g6feb