mirror of https://github.com/AxioDL/jbus.git
apply CMAKE_CXX_STANDARD
This commit is contained in:
parent
b8c42676ce
commit
3c4a99fbe8
|
@ -1,6 +1,9 @@
|
||||||
cmake_minimum_required(VERSION 3.0)
|
cmake_minimum_required(VERSION 3.1.0 FATAL_ERROR) # because of CMAKE_CXX_STANDARD
|
||||||
project(jbus)
|
project(jbus)
|
||||||
|
|
||||||
|
set(CMAKE_CXX_STANDARD 14)
|
||||||
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||||
|
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
set(JBUS_PLAT_LIBS Ws2_32)
|
set(JBUS_PLAT_LIBS Ws2_32)
|
||||||
elseif(UNIX AND NOT APPLE)
|
elseif(UNIX AND NOT APPLE)
|
||||||
|
|
Loading…
Reference in New Issue