mirror of
https://github.com/curl/curl.git
synced 2026-08-26 22:04:36 +03:00
cmake: show warning if libpsl is not found
Also:
- explicitly disable libpsl in CI to avoid configure warning, where
necessary.
- add TODO to make this warning an error (to match autotools.)
Follow-up to 2998874bb6 #12661
Closes #14533
This commit is contained in:
parent
c90a3f16b8
commit
2401ee68a4
7 changed files with 12 additions and 8 deletions
4
.github/workflows/configure-vs-cmake.yml
vendored
4
.github/workflows/configure-vs-cmake.yml
vendored
|
|
@ -41,7 +41,7 @@ jobs:
|
|||
|
||||
- name: run cmake
|
||||
run: |
|
||||
cmake -B build
|
||||
cmake -B build -DCURL_USE_LIBPSL=OFF
|
||||
|
||||
- name: compare generated curl_config.h files
|
||||
run: ./.github/scripts/cmp-config.pl lib/curl_config.h build/lib/curl_config.h
|
||||
|
|
@ -62,7 +62,7 @@ jobs:
|
|||
|
||||
- name: run cmake
|
||||
run: |
|
||||
cmake -B build \
|
||||
cmake -B build -DCURL_USE_LIBPSL=OFF \
|
||||
"-DCMAKE_C_COMPILER_TARGET=$(uname -m | sed 's/arm64/aarch64/')-apple-darwin$(uname -r)" \
|
||||
-DCURL_USE_LIBSSH2=OFF
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue