use `nimOldCaseObjects` switch for nim confutils compat

This commit is contained in:
Dmitriy Ryajov 2024-02-12 14:40:51 -06:00 committed by Eric
parent 695326a1e7
commit 31cac97e4d
No known key found for this signature in database
1 changed files with 3 additions and 0 deletions

View File

@ -118,6 +118,9 @@ switch("define", "chronicles_sinks=textlines[dynamic],json[dynamic],textlines[dy
switch("define", "use_asm_syntax_intel=false")
switch("define", "ctt_asm=false")
# Allow the use of old-style case objects for nim config compatibility
switch("define", "nimOldCaseObjects")
# begin Nimble config (version 1)
when system.fileExists("nimble.paths"):
include "nimble.paths"