From 458906b76f0d8dea0e1f447caf67282a514310df Mon Sep 17 00:00:00 2001
From: Gerardo Ganis <Gerardo.Ganis@cern.ch>
Date: Sun, 7 Mar 2021 12:18:21 +0100
Subject: [PATCH] Force the CXX_STANDARD setting to prevent spurious pickups

Attempt to solve the spurious issue occurring on Mac.
---
 frameworks/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/frameworks/CMakeLists.txt b/frameworks/CMakeLists.txt
index 117781b7be..8d27aecea0 100644
--- a/frameworks/CMakeLists.txt
+++ b/frameworks/CMakeLists.txt
@@ -142,6 +142,7 @@ LCGPackage_add(
     URL ${GenURL}/acts-${acts_native_version}.tar.gz
     CMAKE_ARGS -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}
                -DCMAKE_INSTALL_PREFIX=<INSTALL_DIR>
+               -DCMAKE_CXX_STANDARD=${CMAKE_CXX_STANDARD}
                -DACTS_BUILD_PLUGIN_IDENTIFICATION=ON
                -DACTS_BUILD_PLUGIN_DIGITIZATION=ON
                -DACTS_BUILD_PLUGIN_DD4HEP=ON
-- 
GitLab