Skip to content

Commit bf3ea1f

Browse files
authored
Update CMakeLists.txt
set(CMAKE_CXX_STANDARD 17)
1 parent 2c2671d commit bf3ea1f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

examples/server/CMakeLists.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@ option(LLAMA_SERVER_SSL "Build SSL support for the server" OFF)
44

55
include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR})
66

7-
if(MSVC)
8-
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /std:c++17")
9-
endif(MSVC)
7+
set(CMAKE_CXX_STANDARD 17)
108

119
macro(get_WIN32_WINNT version)
1210
if (WIN32 AND CMAKE_SYSTEM_VERSION)

0 commit comments

Comments
 (0)