mirror of
https://github.com/blendogames/quadrilateralcowboy.git
synced 2024-11-21 11:41:20 +00:00
Bump CMake minimum version and require C++11
This commit is contained in:
parent
6612ae497e
commit
354ae1db9c
1 changed files with 5 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
# CMake File for Quadrilateral Cowboy (Because scons and Xcode are butt)
|
||||
# Written by Ethan "flibitijibibo" Lee
|
||||
|
||||
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
|
||||
CMAKE_MINIMUM_REQUIRED(VERSION 3.1)
|
||||
PROJECT(QuadrilateralCowboy)
|
||||
|
||||
# CMake Options
|
||||
|
@ -466,6 +466,10 @@ ENDIF()
|
|||
# Executable information
|
||||
ADD_EXECUTABLE(qc ${QC_SRC})
|
||||
|
||||
set_target_properties(qc PROPERTIES
|
||||
CXX_STANDARD 11
|
||||
CXX_STANDARD_REQUIRED ON)
|
||||
|
||||
# SDL2 Dependency (Detection pulled from FAudio)
|
||||
if (DEFINED SDL2_INCLUDE_DIRS AND DEFINED SDL2_LIBRARIES)
|
||||
message(STATUS "using pre-defined SDL2 variables SDL2_INCLUDE_DIRS and SDL2_LIBRARIES")
|
||||
|
|
Loading…
Reference in a new issue