mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
GH-1052 switch over to C++14 everywhere
This commit is contained in:
parent
db69a3dacd
commit
678da0b639
3 changed files with 15 additions and 2 deletions
|
|
@ -32,7 +32,7 @@ endif()
|
|||
set(CMAKE_JAVA_TARGET_OUTPUT_DIR ${PROJECT_BINARY_DIR}/jars)
|
||||
|
||||
######## Set compiler flags ########
|
||||
include(UseCXX11)
|
||||
include(UseCXX14)
|
||||
include(Coverage)
|
||||
set(CMAKE_CXX_FLAGS " -Wall ${CMAKE_CXX_FLAGS}")
|
||||
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Werror=return-type")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue