summaryrefslogtreecommitdiff
path: root/Depends.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Depends.cmake')
-rw-r--r--Depends.cmake5
1 files changed, 4 insertions, 1 deletions
diff --git a/Depends.cmake b/Depends.cmake
index c92c9ef7..7507ebc6 100644
--- a/Depends.cmake
+++ b/Depends.cmake
@@ -30,7 +30,10 @@ else ()
30 add_subdirectory (lib/the_Foundation) 30 add_subdirectory (lib/the_Foundation)
31 add_library (the_Foundation::the_Foundation ALIAS the_Foundation) 31 add_library (the_Foundation::the_Foundation ALIAS the_Foundation)
32 if (NOT OPENSSL_FOUND) 32 if (NOT OPENSSL_FOUND)
33 message (FATAL_ERROR "OpenSSL is required for TLS. Please check if pkg-config can find openssl.") 33 message (FATAL_ERROR "Lagrange requires OpenSSL for TLS. Please check if pkg-config can find 'openssl'.")
34 endif ()
35 if (NOT ZLIB_FOUND)
36 message (FATAL_ERROR "Lagrange requires zlib for reading compressed archives. Please check if pkg-config can find 'zlib'.")
34 endif () 37 endif ()
35endif () 38endif ()
36find_package (PkgConfig REQUIRED) 39find_package (PkgConfig REQUIRED)