diff --git a/CMakeLists.txt b/CMakeLists.txt index 2624299..a39deef 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,7 +12,7 @@ if(EXISTS "$ENV{CMAKE_PREFIX_PATH}/include/boost") endif() find_package(ROOT REQUIRED COMPONENTS HistPainter Tree) -find_package(Boost REQUIRED COMPONENTS filesystem regex system) +find_package(Boost REQUIRED COMPONENTS filesystem regex) ExternalProject_Add( yaml-cpp-build @@ -54,7 +54,7 @@ if((${ROOT_VERSION} VERSION_LESS "6.18.00")) endif() endif() if(TARGET ROOT::Tree AND TARGET ROOT::HistPainter) - target_link_libraries(plotIt ROOT::HistPainter ROOT::Tree dl Boost::filesystem Boost::regex Boost::system yaml-cpp) + target_link_libraries(plotIt ROOT::HistPainter ROOT::Tree dl Boost::filesystem Boost::regex yaml-cpp) target_include_directories(plotIt PRIVATE $ ${CMAKE_CURRENT_BINARY_DIR}/external/include) else() target_link_libraries(plotIt ${ROOT_LIBRARIES} dl Boost::filesystem Boost::regex Boost::system yaml-cpp) diff --git a/include/types.h b/include/types.h index c69d2e3..6bd9f83 100644 --- a/include/types.h +++ b/include/types.h @@ -10,6 +10,7 @@ #include #include +#include #include #include diff --git a/src/plotIt.cc b/src/plotIt.cc index 99b2a6c..9918849 100644 --- a/src/plotIt.cc +++ b/src/plotIt.cc @@ -25,6 +25,7 @@ #include #include +#include #include "tclap/CmdLine.h" #include