From c3c8de248241a256dab1aa1e9ed5f7d361e31fe2 Mon Sep 17 00:00:00 2001 From: Lars Bilke <lars.bilke@ufz.de> Date: Fri, 2 Jun 2023 09:51:02 +0200 Subject: [PATCH] [cmake] Don't propagate forced linking. --- ProcessLib/BoundaryConditionAndSourceTerm/Python/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ProcessLib/BoundaryConditionAndSourceTerm/Python/CMakeLists.txt b/ProcessLib/BoundaryConditionAndSourceTerm/Python/CMakeLists.txt index 674576996a7..25dd3dafb13 100644 --- a/ProcessLib/BoundaryConditionAndSourceTerm/Python/CMakeLists.txt +++ b/ProcessLib/BoundaryConditionAndSourceTerm/Python/CMakeLists.txt @@ -49,7 +49,7 @@ target_link_libraries( if(OGS_BUILD_WHEEL OR (APPLE AND OGS_USE_PETSC)) target_link_options( - ProcessLibBoundaryConditionAndSourceTermPython PUBLIC + ProcessLibBoundaryConditionAndSourceTermPython PRIVATE $<$<CXX_COMPILER_ID:AppleClang>:-undefined dynamic_lookup> $<$<CXX_COMPILER_ID:MSVC>:/FORCE:UNRESOLVED> ) -- GitLab