diff options
author | Hiroshi Miura <miurahr@linux.com> | 2018-06-27 17:02:54 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-07-03 17:31:48 (GMT) |
commit | 6a9fe250a7a56f98d6af081ca172cfc28d127206 (patch) | |
tree | d2a3bffc8ed0d9851fda2b99af52f3327299eed9 /Modules/FindCURL.cmake | |
parent | 21a2ace381f0b8245bcdbcb4a61fed9b77f79415 (diff) | |
download | CMake-6a9fe250a7a56f98d6af081ca172cfc28d127206.zip CMake-6a9fe250a7a56f98d6af081ca172cfc28d127206.tar.gz CMake-6a9fe250a7a56f98d6af081ca172cfc28d127206.tar.bz2 |
FindCURL: Improve CURL::libcurl property code layout
Diffstat (limited to 'Modules/FindCURL.cmake')
-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() |