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:
Viktor Szakats 2024-08-13 13:44:27 +02:00
parent c90a3f16b8
commit 2401ee68a4
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
7 changed files with 12 additions and 8 deletions

View file

@ -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