mirror of
https://github.com/curl/curl.git
synced 2026-01-26 15:03:21 +00:00
The CMake config can be consumed by project which enable only language `CXX`. `CMAKE_C_COMPILER_ID` isn't defined in this case, and the target definition would be missing. But the check for compiler id isn't really needed: The target is namespaced and valid, regardless of actual compiler. Noticed in https://github.com/microsoft/vcpkg/issues/49518, building cpr. Follow-up to 16f073ef49f94412000218c9f6ad04e3fd7e4d01 #16973 Closes #20382