From 6864228f1ad7afa9b83194119e730a2aa65919cb Mon Sep 17 00:00:00 2001 From: Adam Morris Date: Thu, 8 Feb 2018 18:54:58 +0100 Subject: [PATCH] use the ROOT C++ flags --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6dba433..a79ecd2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -22,6 +22,8 @@ foreach(opt ${ROOT_OPTIONAL_COMPONENTS}) endif() endforeach() +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${ROOT_CXX_FLAGS}") + # Locate Boost find_package(Boost REQUIRED system)