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)