diff options
-rw-r--r-- | Depends.cmake | 3 |
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 () | ||
32 | endif () | 35 | endif () |
33 | find_package (PkgConfig REQUIRED) | 36 | find_package (PkgConfig REQUIRED) |
34 | pkg_check_modules (SDL2 REQUIRED sdl2) | 37 | pkg_check_modules (SDL2 REQUIRED sdl2) |