[Master] Use add_definitions

Because CMAKE_CXX_STANDARD introduced in CMake 3.1
0.6.1
Koncord 8 years ago
parent 3e284a1139
commit cb5e88ce5c

@ -1,6 +1,8 @@
project(masterserver) project(masterserver)
set(CMAKE_CXX_STANDARD 14) #set(CMAKE_CXX_STANDARD 14)
add_definitions(-std=gnu++14)
include_directories("./") include_directories("./")
set(SOURCE_FILES main.cpp MasterServer.cpp MasterServer.hpp RestServer.cpp RestServer.hpp) set(SOURCE_FILES main.cpp MasterServer.cpp MasterServer.hpp RestServer.cpp RestServer.hpp)

Loading…
Cancel
Save