From b3d5bd2d403a8d32b195d55356a1005e52246069 Mon Sep 17 00:00:00 2001 From: Alexander Kraus Date: Sat, 5 Feb 2022 17:02:49 +0100 Subject: [PATCH] Fixed FL parser language version argument as well. --- WaveSabreConvert/FLParser/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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