[HICN-290] Added check if ASIO_STANDALONE already defined. Removed openssl find perfo... 89/22489/1
authorMauro Sardara <msardara@cisco.com>
Wed, 2 Oct 2019 16:14:34 +0000 (18:14 +0200)
committerMauro Sardara <msardara@cisco.com>
Wed, 2 Oct 2019 16:14:34 +0000 (18:14 +0200)
Change-Id: Ic1d3fe123b099e63a37bcb0c03e00a7c81f509f1
Signed-off-by: Mauro Sardara <msardara@cisco.com>
hicn-light/CMakeLists.txt
libtransport/src/hicn/transport/config.h.in

index 9edb146..39fce8c 100644 (file)
@@ -74,7 +74,6 @@ endif()
 include( Packaging )
 
 find_package(Threads REQUIRED)
-find_package(OpenSSL REQUIRED)
 
 set(LIBHICN_LIGHT hicn-light)
 set(LIBHICN_LIGHT_STATIC ${LIBHICN_LIGHT}.static)
index 02dcfa0..7d47c2b 100644 (file)
 #pragma once
 
 #cmakedefine TRANSPORT_HAVE_PTHREAD 1
+
+#ifndef ASIO_STANDALONE
 #cmakedefine ASIO_STANDALONE
+#endif
 
 #define RAAQM_CONFIG_PATH "@raaqm_config_path@"