forked from loafle/openapi-generator-original
Fix names of pre- and post- scripts for building libcurl (#10284)
This commit is contained in:
parent
d9f36cd44c
commit
bfaa38daa0
@ -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})
|
||||
|
Loading…
x
Reference in New Issue
Block a user