From: Tobias Markus Date: Sun, 15 Mar 2015 15:18:15 +0000 (+0100) Subject: Make curl a required dependency, compilation fails without it X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=0b18b4aa64ca16a646fa6aa641ecd4d13e60294f;p=supertux.git Make curl a required dependency, compilation fails without it --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 65aade42d..83505a8ef 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -106,7 +106,7 @@ INCLUDE_DIRECTORIES(${VORBIS_INCLUDE_DIR}) FIND_PACKAGE(PhysFS REQUIRED) INCLUDE_DIRECTORIES(${PHYSFS_INCLUDE_DIR}) -FIND_PACKAGE(CURL) +FIND_PACKAGE(CURL REQUIRED) IF(CURL_FOUND) INCLUDE_DIRECTORIES(${CURL_INCLUDE_DIR}) SET(HAVE_LIBCURL TRUE)