← Commit list

9a3afc1083

Viktor Szakats
Viktor Szakats
2026-03-06
SUCCESS Duration: 388s

Subject

cmake: fix `LOCATION` property access condition (debug)

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

CMake/Utilities.cmake+2 -2
@@ -60,8 +60,8 @@ function(curl_dumptargetprops _target)
list(REMOVE_DUPLICATES _cmake_property_list)
list(REMOVE_ITEM _cmake_property_list "")
list(APPEND _cmake_property_list "INTERFACE_LIBCURL_PC_MODULES")
- get_target_property(_target_type ${_target} TYPE)
- if(NOT _target_type MATCHES "(INTERFACE_LIBRARY|UNKNOWN_LIBRARY)")
+ get_target_property(_target_imported ${_target} IMPORTED)
+ if(NOT _target_imported)
list(REMOVE_ITEM _cmake_property_list "LOCATION" "LOCATION_<CONFIG>" "MACOSX_PACKAGE_LOCATION" "VS_DEPLOYMENT_LOCATION")
endif()
foreach(_prop IN LISTS _cmake_property_list)