Ensure a minimum C++ standard is enforced.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
This commit is contained in:
parent
8640f82323
commit
f21b4b8b10
1 changed files with 3 additions and 0 deletions
|
@ -2,6 +2,9 @@ cmake_minimum_required(VERSION 3.9)
|
|||
|
||||
project(applewin)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 14)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
||||
add_compile_options(-Werror=return-type)
|
||||
|
||||
MESSAGE("CMAKE_BUILD_TYPE: ${CMAKE_BUILD_TYPE}")
|
||||
|
|
Loading…
Add table
Reference in a new issue