From 96239c750444eb55d588279018a0cad97044341e Mon Sep 17 00:00:00 2001 From: "Yu-Hsiang M. Tsai" Date: Mon, 11 Nov 2024 10:33:42 +0100 Subject: [PATCH] -fallow... --- cmake/build_helpers.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/build_helpers.cmake b/cmake/build_helpers.cmake index df341da60bb..eabbcf867dc 100644 --- a/cmake/build_helpers.cmake +++ b/cmake/build_helpers.cmake @@ -45,7 +45,7 @@ function(ginkgo_compile_features name) if (GINKGO_CHECK_CIRCULAR_DEPS) target_link_libraries("${name}" PRIVATE "${GINKGO_CIRCULAR_DEPS_FLAGS}") endif() - target_link_options("${name}" PRIVATE "-Wl,--allow-shlib-undefined") + target_link_options("${name}" PRIVATE "-Wl,-fallow-shlib-undefined") set_target_properties("${name}" PROPERTIES POSITION_INDEPENDENT_CODE ON) endfunction()