diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt index 1fb6b85e..a07735b1 100644 --- a/source/CMakeLists.txt +++ b/source/CMakeLists.txt @@ -9,6 +9,11 @@ if (${FORCE_COLORED_OUTPUT}) endif () endif () +if(ROOT_VERSION VERSION_LESS "6.24") + message ( WARNING " Support for ROOT version " ${ROOT_VERSION} " will reach end soon!") +endif() + + if(ROOT_VERSION VERSION_GREATER_EQUAL "6.23.01") message ( "----> Use OSTAP/CMAKE setting for ROOT >6.23") include(CMakeROOT_6_23.cmake) diff --git a/source/CMakeROOT_6_23.cmake b/source/CMakeROOT_6_23.cmake index e31a4753..68ace299 100644 --- a/source/CMakeROOT_6_23.cmake +++ b/source/CMakeROOT_6_23.cmake @@ -41,6 +41,7 @@ if (PY2VERSION_ROOT) set( PYTHON_VERSION ${Python2_VERSION} PARENT_SCOPE) set( PYTHON_EXECUTABLE ${Python2_EXECUTABLE} PARENT_SCOPE) set_target_properties( root_pyroot PROPERTIES INTERFACE_LINK_LIBRARIES "ROOT::PyROOT2;ROOT::ROOTTPython;Python2::Python") + message ( WARNING " Support for Python " ${Python_version} " will reach end soon!" ) elseif (PY3VERSION_ROOT) find_package(Python3 ${PY3VERSION_ROOT} COMPONENTS Interpreter Development NumPy) ## find_package(Python3 ${PY3VERSION_ROOT} COMPONENTS Interpreter Development)