Skip to content

Commit b3d5bd2

Browse files
committed
Fixed FL parser language version argument as well.
1 parent e158a4f commit b3d5bd2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

WaveSabreConvert/FLParser/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ project(Monad.FLParser LANGUAGES CSharp)
44

55
cmake_policy(SET CMP0057 NEW)
66
include(CSharpUtilities)
7-
set(CMAKE_CSharp_FLAGS ${CMAKE_CSharp_FLAGS} "/langversion:6")
7+
8+
# Note: The space suffix is required for the flag to work correctly.
9+
set(CMAKE_CSharp_FLAGS "/langversion:latest ")
810

911
set(MONAD_FL_PARSER_SOURCES
1012
${MONAD_FL_PARSER_DIR}/Properties/AssemblyInfo.cs

0 commit comments

Comments
 (0)