From: Ayonix Date: Mon, 18 Jan 2016 21:57:35 +0000 (+0100) Subject: Fix the SSL check on systems that don't use OpenSSL X-Git-Tag: travis-deploy-test~527^2 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=98d707da4f2e7670efcadaaab3e13baf37838c56 Fix the SSL check on systems that don't use OpenSSL --- diff --git a/CMakeLists.txt b/CMakeLists.txt index c2ef8b26..03aabeed 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -421,7 +421,7 @@ set(CMAKE_REQUIRED_INCLUDES ${QT_INCLUDES} ${Qt5Core_INCLUDE_DIRS}) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${Qt5Core_EXECUTABLE_COMPILE_FLAGS}") check_cxx_source_compiles(" #include \"qglobal.h\" - #if defined QT_NO_OPENSSL || defined QT_NO_SSL + #if defined QT_NO_SSL # error \"No SSL support\" #endif int main() {}"