diff --git a/WaveSabreConvert/FLParser/CMakeLists.txt b/WaveSabreConvert/FLParser/CMakeLists.txt index fd268c4c..1ac199b4 100644 --- a/WaveSabreConvert/FLParser/CMakeLists.txt +++ b/WaveSabreConvert/FLParser/CMakeLists.txt @@ -4,7 +4,9 @@ project(Monad.FLParser LANGUAGES CSharp) cmake_policy(SET CMP0057 NEW) include(CSharpUtilities) -set(CMAKE_CSharp_FLAGS ${CMAKE_CSharp_FLAGS} "/langversion:6") + +# Note: The space suffix is required for the flag to work correctly. +set(CMAKE_CSharp_FLAGS "/langversion:latest ") set(MONAD_FL_PARSER_SOURCES ${MONAD_FL_PARSER_DIR}/Properties/AssemblyInfo.cs