From 4315b4ad441b30c17ed42fe99b0f43c30b4a9848 Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Wed, 20 May 2026 10:13:09 +0200 Subject: [PATCH] HAVE_QUAD is now carried by QuadMath::QuadMath target --- CMakeLists.txt | 6 ------ 1 file changed, 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 910288c3288..5df0eb236ab 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -296,11 +296,6 @@ macro(opm-simulators_sources_hook) if(QuadMath_FOUND) get_target_property(qm_defs QuadMath::QuadMath INTERFACE_COMPILE_DEFINITIONS) get_target_property(qm_options QuadMath::QuadMath INTERFACE_COMPILE_OPTIONS) - if(qm_defs) - list(APPEND qm_defs HAVE_QUAD=1) - else() - set(qm_defs HAVE_QUAD=1) - endif() foreach(source opm/models/nonlinear/newtonmethodparams.cpp opm/models/utils/parametersystem.cpp opm/models/utils/simulatorutils.cpp @@ -633,7 +628,6 @@ macro(opm-simulators_targets_hook) examples/${tapp}.cpp ) target_link_libraries(${tapp}_quad PRIVATE QuadMath::QuadMath) - target_compile_definitions(${tapp}_quad PRIVATE HAVE_QUAD=1) endforeach() endif()