diff --git a/simplexmq.cabal b/simplexmq.cabal index f635cefc1..9bc4b79e3 100644 --- a/simplexmq.cabal +++ b/simplexmq.cabal @@ -27,7 +27,7 @@ extra-source-files: README.md CHANGELOG.md -flag swiftJSON +flag swift Description: Enable swift JSON format Default: False Manual: True @@ -74,7 +74,7 @@ library src ghc-options: -Wall -Wcompat -Werror=incomplete-patterns -Wredundant-constraints -Wincomplete-record-updates -Wincomplete-uni-patterns -Wunused-type-patterns - if flag(swiftJSON) + if flag(swift) ghc-options: "-DswiftJSON" build-depends: