summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Depends.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Depends.cmake b/Depends.cmake
index c379fc6d..fa1e8655 100644
--- a/Depends.cmake
+++ b/Depends.cmake
@@ -29,6 +29,9 @@ else ()
29 set (TFDN_ENABLE_WEBREQUEST OFF CACHE BOOL "") 29 set (TFDN_ENABLE_WEBREQUEST OFF CACHE BOOL "")
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)
33 message (FATAL_ERROR "OpenSSL is required for TLS. Please check if pkg-config can find openssl.")
34 endif ()
32endif () 35endif ()
33find_package (PkgConfig REQUIRED) 36find_package (PkgConfig REQUIRED)
34pkg_check_modules (SDL2 REQUIRED sdl2) 37pkg_check_modules (SDL2 REQUIRED sdl2)