[PATCH] Do not error out when curl is not used

Wald Commits scm-commit at wald.intevation.org
Thu Aug 21 15:00:52 CEST 2014


# HG changeset patch
# User Andre Heinecke <andre.heinecke at intevation.de>
# Date 1408626049 -7200
# Node ID 68db3a46ae36a1db1a07ea22156b6019f98a8a46
# Parent  180daa3ecbec73541a00f928848c5a47595dd18a
Do not error out when curl is not used.

    This was only for testing the build system checks

diff -r 180daa3ecbec -r 68db3a46ae36 ui/CMakeLists.txt
--- a/ui/CMakeLists.txt	Thu Aug 21 14:59:32 2014 +0200
+++ b/ui/CMakeLists.txt	Thu Aug 21 15:00:49 2014 +0200
@@ -31,8 +31,6 @@
    add_definitions(-DUSE_CURL)
 elseif (${USE_CURL})
    MESSAGE(FATAL_ERROR "libcurl not found but usage of curl is requested.")
-else()
-   MESSAGE(FATAL_ERROR "${CURL_FOUND} ${USE_CURL}")
 endif()
 
 # Cmake does not correctly identify gcc windres when cross compiling


More information about the Trustbridge-commits mailing list