use cpp-options

This commit is contained in:
Evgeny Poberezkin
2022-04-21 15:16:18 +01:00
parent 0a2cad2745
commit 5eb2822d25
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -72,7 +72,7 @@ flags:
when:
- condition: flag(swift)
ghc-options:
cpp-options:
- -DswiftJSON
library:
+4 -4
View File
@@ -116,7 +116,7 @@ library
, x509-store ==1.6.*
, x509-validation ==1.6.*
if flag(swift)
ghc-options: -DswiftJSON
cpp-options: -DswiftJSON
default-language: Haskell2010
executable smp-agent
@@ -170,7 +170,7 @@ executable smp-agent
, x509-store ==1.6.*
, x509-validation ==1.6.*
if flag(swift)
ghc-options: -DswiftJSON
cpp-options: -DswiftJSON
default-language: Haskell2010
executable smp-server
@@ -227,7 +227,7 @@ executable smp-server
, x509-store ==1.6.*
, x509-validation ==1.6.*
if flag(swift)
ghc-options: -DswiftJSON
cpp-options: -DswiftJSON
default-language: Haskell2010
test-suite smp-server-test
@@ -297,5 +297,5 @@ test-suite smp-server-test
, x509-store ==1.6.*
, x509-validation ==1.6.*
if flag(swift)
ghc-options: -DswiftJSON
cpp-options: -DswiftJSON
default-language: Haskell2010