From f1327d3bc327d05c9028f0a6cb55e3afebdb494b Mon Sep 17 00:00:00 2001 From: eidheim Date: Mon, 24 Jun 2019 10:20:32 +0200 Subject: [PATCH] Renamed HAVE_ASIO to ASIO_PATH --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 09ce5a9..c40c405 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -22,11 +22,11 @@ target_link_libraries(simple-web-server INTERFACE ${CMAKE_THREAD_LIBS_INIT}) # Remove Boost system, thread, regex components; use Boost:: aliases; remove Boost target_include_directories if(USE_STANDALONE_ASIO) target_compile_definitions(simple-web-server INTERFACE USE_STANDALONE_ASIO) - find_path(HAVE_ASIO asio.hpp) - if(NOT HAVE_ASIO) + find_path(ASIO_PATH asio.hpp) + if(NOT ASIO_PATH) message(FATAL_ERROR "Standalone Asio not found") else() - target_include_directories(simple-web-server INTERFACE ${HAVE_ASIO}) + target_include_directories(simple-web-server INTERFACE ${ASIO_PATH}) endif() else() find_package(Boost 1.53.0 COMPONENTS system thread REQUIRED)