Compile LMMS using C++14

This replaces `set(CMAKE_CXX_STANDARD 14)` by `set(CMAKE_CXX_STANDARD 11)`
wherever it is required. Wherever it is superseded by parental
`CMakeLists.txt`, this command is now removed.
This commit is contained in:
Johannes Lorenz
2020-10-03 12:07:38 +02:00
committed by Johannes Lorenz
parent 4efe0c842e
commit 7e986a8323
5 changed files with 5 additions and 9 deletions

View File

@@ -9,8 +9,8 @@ SET(LMMS_UIS "")
SET(CMAKE_AUTOMOC ON)
SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
# Enable C++11
SET(CMAKE_CXX_STANDARD 11)
# Enable C++14
SET(CMAKE_CXX_STANDARD 14)
IF(LMMS_BUILD_APPLE)
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++")