use `nimOldCaseObjects` switch for nim confutils compat

This commit is contained in:
Dmitriy Ryajov 2024-02-12 14:40:51 -06:00
parent 20b156d0ff
commit b0f54ab9ad
No known key found for this signature in database
GPG Key ID: DA8C680CE7C657A4
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"