Fix names of pre- and post- scripts for building libcurl (#10284)

This commit is contained in:
Ahmed Yarub Hani Al Nuaimi 2021-08-31 00:13:47 -03:00 committed by GitHub
parent d9f36cd44c
commit bfaa38daa0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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})