Skip to content
Snippets Groups Projects
Commit a9424902 authored by Enrico Guiraud's avatar Enrico Guiraud
Browse files

[cmake][NFC] Fix indentation

parent 506e2232
No related branches found
No related tags found
No related merge requests found
...@@ -836,20 +836,20 @@ endif() ...@@ -836,20 +836,20 @@ endif()
#---Check for Xrootd support--------------------------------------------------------- #---Check for Xrootd support---------------------------------------------------------
if(xrootd AND NOT builtin_xrootd) if(xrootd AND NOT builtin_xrootd)
message(STATUS "Looking for XROOTD") message(STATUS "Looking for XROOTD")
find_package(XROOTD) find_package(XROOTD)
if(NOT XROOTD_FOUND) if(NOT XROOTD_FOUND)
if(fail-on-missing) if(fail-on-missing)
message(FATAL_ERROR "XROOTD not found. Set environment variable XRDSYS to point to your XROOTD installation, " message(FATAL_ERROR "XROOTD not found. Set environment variable XRDSYS to point to your XROOTD installation, "
"or inlcude the installation of XROOTD in the CMAKE_PREFIX_PATH. " "or inlcude the installation of XROOTD in the CMAKE_PREFIX_PATH. "
"Alternatively, you can also enable the option 'builtin_xrootd' to build XROOTD internally") "Alternatively, you can also enable the option 'builtin_xrootd' to build XROOTD internally")
else()
message(STATUS "XROOTD not found, enabling 'builtin_xrootd' option")
set(builtin_xrootd ON CACHE BOOL "Enabled because xrootd is enabled, but external xrootd was not found (${xrootd_description})" FORCE)
endif()
else() else()
set(XROOTD_VERSIONNUM ${xrdversnum}) # variable used internally message(STATUS "XROOTD not found, enabling 'builtin_xrootd' option")
set(builtin_xrootd ON CACHE BOOL "Enabled because xrootd is enabled, but external xrootd was not found (${xrootd_description})" FORCE)
endif() endif()
else()
set(XROOTD_VERSIONNUM ${xrdversnum}) # variable used internally
endif()
endif() endif()
if(builtin_xrootd) if(builtin_xrootd)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment