summaryrefslogtreecommitdiff
path: root/lib/curl_config.h.cmake
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2010-03-24 10:57:54 -0400
committerBill Hoffman <bill.hoffman@kitware.com>2010-03-24 10:57:54 -0400
commitd42f9329dc52200e3964d1060f373368f401b828 (patch)
tree5c9883a0999d5f2e0f7e247d22512411caccb483 /lib/curl_config.h.cmake
parent9828b926ae9204e3a7d7699fc1a5a76b5520c987 (diff)
downloadcurl-d42f9329dc52200e3964d1060f373368f401b828.tar.gz
Fix curl CMake build.
This commit fixes the cmake build of curl, and cleans up the cmake code a little. It removes some commented out code and some trailing whitespace. To get curl to build the binary tree include/curl directory needed to be added to the include path. Also, SIZEOF_SHORT needed to be added. A check for the lack of defines of SIZEOF_* for warnless.c was added.
Diffstat (limited to 'lib/curl_config.h.cmake')
-rw-r--r--lib/curl_config.h.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/curl_config.h.cmake b/lib/curl_config.h.cmake
index 09f435c35..fd6b32aa8 100644
--- a/lib/curl_config.h.cmake
+++ b/lib/curl_config.h.cmake
@@ -853,6 +853,9 @@
/* The size of `int', as computed by sizeof. */
#cmakedefine SIZEOF_INT ${SIZEOF_INT}
+/* The size of `short', as computed by sizeof. */
+#cmakedefine SIZEOF_SHORT ${SIZEOF_SHORT}
+
/* The size of `long', as computed by sizeof. */
#cmakedefine SIZEOF_LONG ${SIZEOF_LONG}