Fixed detection of libcurl
authorChristoph Sommer <mail@christoph-sommer.de>
Sun, 16 Dec 2007 13:02:21 +0000 (13:02 +0000)
committerChristoph Sommer <mail@christoph-sommer.de>
Sun, 16 Dec 2007 13:02:21 +0000 (13:02 +0000)
SVN-Revision: 5195

CMakeLists.txt

index c15419b..201a8c0 100644 (file)
@@ -130,11 +130,11 @@ INCLUDE_DIRECTORIES(${PHYSFS_INCLUDE_DIR})
 LINK_LIBRARIES(${PHYSFS_LIBRARY})
 
 FIND_PACKAGE(CURL)
-IF(${CURL_FOUND})
+IF(CURL_FOUND)
   INCLUDE_DIRECTORIES(${CURL_INCLUDE_DIR})
   LINK_LIBRARIES(${CURL_LIBRARY})
   SET(HAVE_LIBCURL TRUE)
-ENDIF(${CURL_FOUND})
+ENDIF(CURL_FOUND)
 
 #FIND_PACKAGE(ICONV REQUIRED)
 #INCLUDE_DIRECTORIES(${ICONV_INCLUDE_DIR})