From a267d30f5bb0c20273b050100d711b197052c90a Mon Sep 17 00:00:00 2001 From: "Mads R. B. Kristensen" Date: Mon, 4 Nov 2024 21:04:09 +0100 Subject: [PATCH] Use `LINKER` instread of `-wl,` Co-authored-by: Robert Maynard --- cpp/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt index 77b587d7d5..861958f611 100644 --- a/cpp/CMakeLists.txt +++ b/cpp/CMakeLists.txt @@ -114,7 +114,7 @@ add_library(kvikio ${SOURCES}) # dependency OpenSSL, we exclude them when building libkvikio.so. This way, libkvikio.so will not # expose any OpenSSL symbols that could conflict with downstream users like CPython that also links # to (another version of) OpenSSL. -target_link_options(kvikio PRIVATE "-Wl,--exclude-libs,ALL") +target_link_options(kvikio PRIVATE "LINKER:--exclude-libs,ALL") add_library(kvikio::kvikio ALIAS kvikio)