1
0
mirror of https://github.com/moparisthebest/curl synced 2025-02-28 17:31:46 -05:00

CMakeLists.txt: add warning about the cmake build's state

This commit is contained in:
Daniel Stenberg 2014-01-01 22:32:55 +01:00
parent 6bc9e46bf1
commit 5f8f512719

View File

@ -23,6 +23,8 @@ include(Utilities)
project( CURL C ) project( CURL C )
message(WARNING "the curl cmake build system is poorly maintained. Be aware")
file (READ ${CURL_SOURCE_DIR}/include/curl/curlver.h CURL_VERSION_H_CONTENTS) file (READ ${CURL_SOURCE_DIR}/include/curl/curlver.h CURL_VERSION_H_CONTENTS)
string (REGEX MATCH "LIBCURL_VERSION_MAJOR[ \t]+([0-9]+)" string (REGEX MATCH "LIBCURL_VERSION_MAJOR[ \t]+([0-9]+)"
LIBCURL_VERSION_MJ ${CURL_VERSION_H_CONTENTS}) LIBCURL_VERSION_MJ ${CURL_VERSION_H_CONTENTS})