Skip to content

Commit

Permalink
Fixed FL parser language version argument as well.
Browse files Browse the repository at this point in the history
  • Loading branch information
LeStahL committed Feb 5, 2022
1 parent e158a4f commit b3d5bd2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion WaveSabreConvert/FLParser/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b3d5bd2

Please sign in to comment.