From bfaa38daa0d7b5f4f94bc63e3a19b64eb564320f Mon Sep 17 00:00:00 2001 From: Ahmed Yarub Hani Al Nuaimi Date: Tue, 31 Aug 2021 00:13:47 -0300 Subject: [PATCH] Fix names of pre- and post- scripts for building libcurl (#10284) --- .../src/main/resources/C-libcurl/CMakeLists.txt.mustache | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 8de6a32971d..2e6d8480fa0 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 @@ -80,7 +80,7 @@ set(HDRS ) -include(PreTarget OPTIONAL) +include(PreTarget.cmake OPTIONAL) # Add library with project file with project name as library name add_library(${pkgName} ${SRCS} ${HDRS}) @@ -90,7 +90,7 @@ if(NOT CMAKE_VERSION VERSION_LESS 3.4) endif() target_link_libraries(${pkgName} ${CURL_LIBRARIES} ) -include(PostTarget OPTIONAL) +include(PostTarget.cmake OPTIONAL) #install library to destination install(TARGETS ${pkgName} DESTINATION ${CMAKE_INSTALL_PREFIX})