Skip to content
Snippets Groups Projects
Commit d1d113be authored by Pere Mato Vila's avatar Pere Mato Vila
Browse files

Fix for ROOT-6464

parent 6bfd6d52
No related branches found
No related tags found
No related merge requests found
......@@ -122,6 +122,9 @@ endif()
#---Configure Testing using CTest----------------------------------------------------------------
if(testing)
if(gnuinstall)
message(FATAL_ERROR "You cannot enable to run the tests in the build directory (testing=ON) and at the same time select a GNU style installation (gnuinstall=ON). This is because the code is built with the final installation location (CMAKE_INSTALL_PREFIX) for many ancillary files (tutorials, etc, icons, macros, etc.) and these are not available before installation. Tests can be run against the installation once is completed. See the instructions in the web")
endif()
include(RootCTest)
if(roottest)
find_package(Git REQUIRED)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment