cm fix for shared libcurl, apple clang

This commit is contained in:
Viktor Szakats 2025-09-03 17:02:07 +02:00
parent 0ccfffc22b
commit fb13ddbe9e
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
3 changed files with 10 additions and 2 deletions

View file

@ -130,7 +130,7 @@ if(ENABLE_UNICODE AND MINGW AND NOT MINGW32CE)
endif()
endif()
if(CURL_CODE_COVERAGE)
if(CURL_COVERAGE_LDFLAGS)
if(CMAKE_VERSION VERSION_GREATER_EQUAL 3.13)
target_link_options(${EXE_NAME} PRIVATE ${CURL_COVERAGE_LDFLAGS})
else()