Update CMakeLists.txt
replace tabs with spaces
This commit is contained in:
parent
786b6a9a3f
commit
2c2671d2c8
1 changed files with 7 additions and 3 deletions
|
@ -4,6 +4,10 @@ option(LLAMA_SERVER_SSL "Build SSL support for the server" OFF)
|
||||||
|
|
||||||
include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR})
|
include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR})
|
||||||
|
|
||||||
|
if(MSVC)
|
||||||
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /std:c++17")
|
||||||
|
endif(MSVC)
|
||||||
|
|
||||||
macro(get_WIN32_WINNT version)
|
macro(get_WIN32_WINNT version)
|
||||||
if (WIN32 AND CMAKE_SYSTEM_VERSION)
|
if (WIN32 AND CMAKE_SYSTEM_VERSION)
|
||||||
set(ver ${CMAKE_SYSTEM_VERSION})
|
set(ver ${CMAKE_SYSTEM_VERSION})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue