projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7591dee
)
Detect and active the addon manager in the cmake build
author
Tim Goya
<tuxdev103@gmail.com>
Sat, 3 Nov 2007 17:23:34 +0000
(17:23 +0000)
committer
Tim Goya
<tuxdev103@gmail.com>
Sat, 3 Nov 2007 17:23:34 +0000
(17:23 +0000)
SVN-Revision: 5178
CMakeLists.txt
patch
|
blob
|
history
config.h.cmake
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
c77d58b
..
95549f5
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-134,6
+134,13
@@
MARK_AS_ADVANCED(
INCLUDE_DIRECTORIES(${PHYSFS_INCLUDE_DIR})
LINK_LIBRARIES(${PHYSFS_LIBRARY})
+FIND_PACKAGE(CURL)
+IF(${CURL_FOUND})
+ INCLUDE_DIRECTORIES(${CURL_INCLUDE_DIR})
+ LINK_LIBRARIES(${CURL_LIBRARY})
+ SET(HAVE_LIBCURL TRUE)
+ENDIF(${CURL_FOUND})
+
#FIND_PACKAGE(ICONV REQUIRED)
#INCLUDE_DIRECTORIES(${ICONV_INCLUDE_DIR})
#LINK_LIBRARIES(${ICONV_LIBRARY})
diff --git
a/config.h.cmake
b/config.h.cmake
index
4d3d1cd
..
5e33fc1
100644
(file)
--- a/
config.h.cmake
+++ b/
config.h.cmake
@@
-22,3
+22,5
@@
#cmakedefine WORDS_BIGENDIAN
#cmakedefine HAVE_OPENGL
+
+#cmakedefine HAVE_LIBCURL