gameServer/CMakeLists.txt
changeset 15700 a3d2f69f3ac1
parent 15699 27eb5abd5058
--- a/gameServer/CMakeLists.txt	Wed Jul 08 17:02:45 2020 +0300
+++ b/gameServer/CMakeLists.txt	Wed Jul 08 17:13:42 2020 +0300
@@ -5,24 +5,24 @@
 
 include(${CMAKE_MODULE_PATH}/CheckHaskellPackageExists.cmake)
 
-check_haskell_package_exists(base "Control.Exception" mask 1)
-check_haskell_package_exists(containers "Data.Map" size 1)
-check_haskell_package_exists(vector "Data.Vector" length 1)
-check_haskell_package_exists(bytestring "Data.ByteString" pack 1)
-check_haskell_package_exists(network "Network.Socket" defaultHints 0)
-check_haskell_package_exists(network-bsd "Network.BSD" getHostName 0)
-check_haskell_package_exists(time "Data.Time" getCurrentTime 0)
-check_haskell_package_exists(mtl "Control.Monad.State" fix 1)
-check_haskell_package_exists(sandi "Codec.Binary.Base64" encode 1)
-check_haskell_package_exists(hslogger "System.Log.Logger" warningM 1)
-check_haskell_package_exists(process "System.Process" createProcess 3)
-check_haskell_package_exists(utf8-string "Data.ByteString.Lazy.UTF8" decode 1)
-check_haskell_package_exists(SHA "Data.Digest.Pure.SHA" sha1 1)
-check_haskell_package_exists(entropy "System.Entropy" openHandle 0)
-check_haskell_package_exists(zlib "Codec.Compression.Zlib" decompress 1)
-check_haskell_package_exists(random "System.Random" getStdGen 0)
-check_haskell_package_exists(regex-tdfa "Text.Regex.TDFA.ByteString" execute 2)
-check_haskell_package_exists(deepseq "Control.DeepSeq" deepseq 2)
+check_haskell_package_exists(base "Control.Exception" mask 1 REQUIRED)
+check_haskell_package_exists(containers "Data.Map" size 1 REQUIRED)
+check_haskell_package_exists(vector "Data.Vector" length 1 REQUIRED)
+check_haskell_package_exists(bytestring "Data.ByteString" pack 1 REQUIRED)
+check_haskell_package_exists(network "Network.Socket" defaultHints 0 REQUIRED)
+check_haskell_package_exists(network-bsd "Network.BSD" getHostName 0 OPTIONAL)
+check_haskell_package_exists(time "Data.Time" getCurrentTime 0 REQUIRED)
+check_haskell_package_exists(mtl "Control.Monad.State" fix 1 REQUIRED)
+check_haskell_package_exists(sandi "Codec.Binary.Base64" encode 1 REQUIRED)
+check_haskell_package_exists(hslogger "System.Log.Logger" warningM 1 REQUIRED)
+check_haskell_package_exists(process "System.Process" createProcess 3 REQUIRED)
+check_haskell_package_exists(utf8-string "Data.ByteString.Lazy.UTF8" decode 1 REQUIRED)
+check_haskell_package_exists(SHA "Data.Digest.Pure.SHA" sha1 1 REQUIRED)
+check_haskell_package_exists(entropy "System.Entropy" openHandle 0 REQUIRED)
+check_haskell_package_exists(zlib "Codec.Compression.Zlib" decompress 1 REQUIRED)
+check_haskell_package_exists(random "System.Random" getStdGen 0 REQUIRED)
+check_haskell_package_exists(regex-tdfa "Text.Regex.TDFA.ByteString" execute 2 REQUIRED)
+check_haskell_package_exists(deepseq "Control.DeepSeq" deepseq 2 REQUIRED)