diff options
-rw-r--r-- | Modules/FindCURL.cmake | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Modules/FindCURL.cmake b/Modules/FindCURL.cmake index a549765..0bd47f7 100644 --- a/Modules/FindCURL.cmake +++ b/Modules/FindCURL.cmake @@ -69,7 +69,9 @@ if(CURL_FOUND) if(NOT TARGET CURL::libcurl) add_library(CURL::libcurl UNKNOWN IMPORTED) - set_target_properties(CURL::libcurl PROPERTIES INTERFACE_INCLUDE_DIRECTORIES "${CURL_INCLUDE_DIRS}") - set_property(TARGET CURL::libcurl APPEND PROPERTY IMPORTED_LOCATION "${CURL_LIBRARY}") + set_target_properties(CURL::libcurl PROPERTIES + INTERFACE_INCLUDE_DIRECTORIES "${CURL_INCLUDE_DIRS}") + set_property(TARGET CURL::libcurl PROPERTY + IMPORTED_LOCATION "${CURL_LIBRARY}") endif() endif() |