diff options
Diffstat (limited to 'libtransport/src/hicn/transport/CMakeLists.txt')
-rw-r--r-- | libtransport/src/hicn/transport/CMakeLists.txt | 6 |
1 files changed, 4 insertions, 2 deletions
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() |