CMake: Bump required version to 3.12 for add_compile_definitions

This commit is contained in:
Rémi Verschelde 2021-01-04 08:24:02 +01:00
parent dd365d2c84
commit cd73720cb8
No known key found for this signature in database
GPG Key ID: C3336907360768E1
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.6) cmake_minimum_required(VERSION 3.12)
project(blah) project(blah)
# C++ version # C++ version

View File

@ -5,7 +5,7 @@ Goal is to be simple and use as few dependencies as possible, to maintain easy b
**☆ This will likely see breaking changes! Use at your own risk! ☆** **☆ This will likely see breaking changes! Use at your own risk! ☆**
#### building #### building
- Requires C++17 and CMake - Requires C++17 and CMake 3.12+
- Platform Backend - Platform Backend
- [SDL2](https://github.com/NoelFB/blah/blob/master/private/blah/internal/platform_backend_sdl2.cpp) can be enabled in CMake with `SDL2_ENABLED`, and setting `SDL2_INCLUDE_DIRS` and `SDL2_LIBRARIES` - [SDL2](https://github.com/NoelFB/blah/blob/master/private/blah/internal/platform_backend_sdl2.cpp) can be enabled in CMake with `SDL2_ENABLED`, and setting `SDL2_INCLUDE_DIRS` and `SDL2_LIBRARIES`
- Graphics Backend - Graphics Backend