plugins/LadspaEffect: Use C++11

The rest of LMMS is built against it, and almost every flavor of MinGW
should support it these days.
This commit is contained in:
Matt Kline
2018-05-12 00:09:29 -07:00
committed by Colin Wallace
parent ea98ba4dae
commit 9c0d50d425

View File

@@ -4,13 +4,7 @@ BUILD_PLUGIN(ladspaeffect LadspaEffect.cpp LadspaControls.cpp LadspaControlDialo
SET(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/ladspa")
# Enable C++11 for all except mingw builds
# TODO: Validate against modern mingw compiler
IF(NOT MINGW_PREFIX)
SET(CMAKE_CXX_STANDARD 11)
ELSE()
SET(CMAKE_CXX_STANDARD 98)
ENDIF()
SET(CMAKE_CXX_STANDARD 11)
IF(WANT_CAPS)
ADD_SUBDIRECTORY(caps)