Resolved conflicts
This commit is contained in:
commit
84170850f3
2 changed files with 14 additions and 2 deletions
|
|
@ -61,7 +61,7 @@ endif()
|
|||
# If Simple-Web-Server is not a sub-project:
|
||||
if(CMAKE_SOURCE_DIR STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
|
||||
if(NOT MSVC)
|
||||
add_compile_options(-std=c++11 -Wall -Wextra)
|
||||
add_compile_options(-Wall -Wextra)
|
||||
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||
add_compile_options(-Wthread-safety)
|
||||
endif()
|
||||
|
|
@ -73,9 +73,11 @@ if(CMAKE_SOURCE_DIR STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
|
|||
if(Boost_FOUND)
|
||||
add_executable(http_examples http_examples.cpp)
|
||||
target_link_libraries(http_examples simple-web-server Boost::boost Boost::filesystem)
|
||||
set_target_properties(http_examples PROPERTIES CXX_STANDARD 11 CXX_STANDARD_REQUIRED ON)
|
||||
if(OPENSSL_FOUND)
|
||||
add_executable(https_examples https_examples.cpp)
|
||||
target_link_libraries(https_examples simple-web-server Boost::boost Boost::filesystem)
|
||||
set_target_properties(https_examples PROPERTIES CXX_STANDARD 11 CXX_STANDARD_REQUIRED ON)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue