mirror of
https://github.com/libSDL2pp/libSDL2pp.git
synced 2025-09-07 14:25:17 -04:00
Set standard for exttests
This commit is contained in:
parent
429c32df89
commit
ba6df014bf
@ -3,7 +3,7 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
|
|||||||
|
|
||||||
FIND_PACKAGE(SDL2PP REQUIRED)
|
FIND_PACKAGE(SDL2PP REQUIRED)
|
||||||
|
|
||||||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
|
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17")
|
||||||
|
|
||||||
INCLUDE_DIRECTORIES(${SDL2PP_INCLUDE_DIRS})
|
INCLUDE_DIRECTORIES(${SDL2PP_INCLUDE_DIRS})
|
||||||
ADD_EXECUTABLE(cmake-ext-test ../../examples/sprites.cc)
|
ADD_EXECUTABLE(cmake-ext-test ../../examples/sprites.cc)
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
CXX?= g++
|
CXX?= g++
|
||||||
|
|
||||||
CXXFLAGS+= -std=c++11
|
CXXFLAGS+= -std=c++17
|
||||||
|
|
||||||
SDL2PP_CFLAGS= `pkg-config --cflags sdl2pp`
|
SDL2PP_CFLAGS= `pkg-config --cflags sdl2pp`
|
||||||
SDL2PP_LIBS= `pkg-config --libs sdl2pp`
|
SDL2PP_LIBS= `pkg-config --libs sdl2pp`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user