diff --git a/modules/openapi-generator/src/main/resources/C-libcurl/CMakeLists.txt.mustache b/modules/openapi-generator/src/main/resources/C-libcurl/CMakeLists.txt.mustache index 89fa9fa53fd3..b848fa044948 100644 --- a/modules/openapi-generator/src/main/resources/C-libcurl/CMakeLists.txt.mustache +++ b/modules/openapi-generator/src/main/resources/C-libcurl/CMakeLists.txt.mustache @@ -23,7 +23,7 @@ if(VALGRIND) set(VALGRIND_LIST "") endif() -find_package(CURL REQUIRED) +find_package(CURL 7.61.1 REQUIRED) if(CURL_FOUND) include_directories(${CURL_INCLUDE_DIR}) set(PLATFORM_LIBRARIES ${PLATFORM_LIBRARIES} ${CURL_LIBRARIES} ) diff --git a/modules/openapi-generator/src/main/resources/C-libcurl/README.md.mustache b/modules/openapi-generator/src/main/resources/C-libcurl/README.md.mustache index 01b474a31b48..74780db2f6b0 100644 --- a/modules/openapi-generator/src/main/resources/C-libcurl/README.md.mustache +++ b/modules/openapi-generator/src/main/resources/C-libcurl/README.md.mustache @@ -14,15 +14,15 @@ For more information, please visit [{{{infoUrl}}}]({{{infoUrl}}}) {{/infoUrl}} ## Installation -You'll need the `curl 7.61` package in order to build the API. To have code formatted nicely you also need to have uncrustify version 0.67. +You'll need the `curl 7.61.1` package in order to build the API. To have code formatted nicely you also need to have uncrustify version 0.67. ### Prerequisites -Install the `curl 7.61` package with the following command on Linux. +Install the `curl 7.61.1` package with the following command on Linux. ```bash sudo apt remove curl -wget http://curl.haxx.se/download/curl-7.60.0.tar.gz -tar -xvf curl-7.61.0.tar.gz -cd curl-7.61.0/ +wget http://curl.haxx.se/download/curl-7.61.1.tar.gz +tar -xvf curl-7.61.1.tar.gz +cd curl-7.61.1/ ./configure make sudo make install diff --git a/samples/client/petstore/c/CMakeLists.txt b/samples/client/petstore/c/CMakeLists.txt index 89fa9fa53fd3..b848fa044948 100644 --- a/samples/client/petstore/c/CMakeLists.txt +++ b/samples/client/petstore/c/CMakeLists.txt @@ -23,7 +23,7 @@ if(VALGRIND) set(VALGRIND_LIST "") endif() -find_package(CURL REQUIRED) +find_package(CURL 7.61.1 REQUIRED) if(CURL_FOUND) include_directories(${CURL_INCLUDE_DIR}) set(PLATFORM_LIBRARIES ${PLATFORM_LIBRARIES} ${CURL_LIBRARIES} ) diff --git a/samples/client/petstore/c/README.md b/samples/client/petstore/c/README.md index 86dc201b3eb2..8269710af948 100644 --- a/samples/client/petstore/c/README.md +++ b/samples/client/petstore/c/README.md @@ -8,15 +8,15 @@ This API client was generated by the [OpenAPI Generator](https://openapi-generat - Build package: org.openapitools.codegen.languages.CLibcurlClientCodegen ## Installation -You'll need the `curl 7.61` package in order to build the API. To have code formatted nicely you also need to have uncrustify version 0.67. +You'll need the `curl 7.61.1` package in order to build the API. To have code formatted nicely you also need to have uncrustify version 0.67. ### Prerequisites -Install the `curl 7.61` package with the following command on Linux. +Install the `curl 7.61.1` package with the following command on Linux. ```bash sudo apt remove curl -wget http://curl.haxx.se/download/curl-7.60.0.tar.gz -tar -xvf curl-7.61.0.tar.gz -cd curl-7.61.0/ +wget http://curl.haxx.se/download/curl-7.61.1.tar.gz +tar -xvf curl-7.61.1.tar.gz +cd curl-7.61.1/ ./configure make sudo make install