Skip to content
Snippets Groups Projects
Commit 5f8f5127 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

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

parent 6bc9e46b
No related branches found
No related tags found
No related merge requests found
......@@ -23,6 +23,8 @@ include(Utilities)
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)
string (REGEX MATCH "LIBCURL_VERSION_MAJOR[ \t]+([0-9]+)"
LIBCURL_VERSION_MJ ${CURL_VERSION_H_CONTENTS})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment