From dd81185294bdda4203c747a9ce5c19a63c55dbd4 Mon Sep 17 00:00:00 2001 From: michele papalini Date: Mon, 18 Feb 2019 16:12:36 +0100 Subject: [HICN-69] add compiler definitions for programs using hicn Change-Id: If20c1e487ca4d9c00ffeebe09f31b475b354e293 Signed-off-by: michele papalini --- libtransport/src/hicn/transport/CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'libtransport/src/hicn/transport/CMakeLists.txt') diff --git a/libtransport/src/hicn/transport/CMakeLists.txt b/libtransport/src/hicn/transport/CMakeLists.txt index c0481ad6f..e73a3407a 100644 --- a/libtransport/src/hicn/transport/CMakeLists.txt +++ b/libtransport/src/hicn/transport/CMakeLists.txt @@ -13,6 +13,8 @@ cmake_minimum_required(VERSION 3.5 FATAL_ERROR) +set(ASIO_STANDALONE 1) + configure_file("config.h.in" "config.h" @ONLY) install( FILES ${CMAKE_CURRENT_BINARY_DIR}/config.h @@ -28,7 +30,7 @@ add_subdirectory(portability) add_subdirectory(protocols) add_subdirectory(utils) -set (COMPILER_DEFINITIONS "-DASIO_STANDALONE") +set (COMPILER_DEFINITIONS "") list(APPEND LIBTRANSPORT_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/../.. @@ -63,4 +65,4 @@ build_library(${LIBTRANSPORT} if (${COMPILE_TESTS}) add_subdirectory(core/test) add_subdirectory(transport/test) -endif() \ No newline at end of file +endif() -- cgit 1.2.3-korg