Minor variable name change in CMakeLists.txt
This commit is contained in:
parent
3b2c84a9bc
commit
e334a86fc2
1 changed files with 2 additions and 2 deletions
|
|
@ -22,8 +22,8 @@ target_link_libraries(simple-web-server INTERFACE ${CMAKE_THREAD_LIBS_INIT})
|
||||||
# Remove Boost system, thread, regex components; use Boost::<component> aliases; remove Boost target_include_directories
|
# Remove Boost system, thread, regex components; use Boost::<component> aliases; remove Boost target_include_directories
|
||||||
if(USE_STANDALONE_ASIO)
|
if(USE_STANDALONE_ASIO)
|
||||||
target_compile_definitions(simple-web-server INTERFACE USE_STANDALONE_ASIO)
|
target_compile_definitions(simple-web-server INTERFACE USE_STANDALONE_ASIO)
|
||||||
find_file(ASIO_HEADER asio.hpp)
|
find_file(HAVE_ASIO asio.hpp)
|
||||||
if(NOT ASIO_HEADER)
|
if(NOT HAVE_ASIO)
|
||||||
message(FATAL_ERROR "Standalone Asio not found")
|
message(FATAL_ERROR "Standalone Asio not found")
|
||||||
endif()
|
endif()
|
||||||
else()
|
else()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue