Skip to content

Commit

Permalink
remove build warning
Browse files Browse the repository at this point in the history
  • Loading branch information
sailfish009 committed Mar 27, 2020
1 parent 448338d commit ce22bdb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ add_definitions(-DBOOST_ALL_NO_LIB)
# add_definitions(-D _WIN32_WINNT=0x0601)
add_definitions(-DASIO_SEPARATE_COMPILATION)
set(CMAKE_CONFIGURATION_TYPES "Debug" CACHE STRING "" FORCE)
set (CMAKE_CXX_COMPILER "clang++")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -stdlib=libc++ -lc++abi")
set(CMAKE_CXX_FLAGS "-fcoroutines-ts --stdlib=libc++ -Xclang -fconcepts-ts")
set(CMAKE_CXX_COMPILER "clang++")
set(CMAKE_CXX_FLAGS "-fcoroutines-ts --stdlib=libc++ -Xclang -std=c++20")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -stdlib=libc++ -lc++abi ")
set (CMAKE_CXX_STANDARD 20)

include_directories(include)
Expand Down

0 comments on commit ce22bdb

Please sign in to comment.