Skip to content

Commit

Permalink
[CMake] Fix include path in XRootDConfig.cmake
Browse files Browse the repository at this point in the history
Headers are installed into the subdirectory xrootd/. This was broken
with commit c6e0e59 ("[CMake] Find only XRootD matching
XRootDConfig.cmake installation path") released with version 5.6.3.
  • Loading branch information
hahnjo authored and amadio committed Dec 4, 2023
1 parent 896f95c commit ccedaab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/XRootDConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ SET( XROOTD_SSI_FOUND FALSE )

set_and_check(XRootD_CMAKE_DIR "${CMAKE_CURRENT_LIST_DIR}")
set_and_check(XRootD_DATA_DIR "@PACKAGE_CMAKE_INSTALL_DATADIR@")
set_and_check(XRootD_INCLUDE_DIR "@PACKAGE_CMAKE_INSTALL_INCLUDEDIR@")
set_and_check(XRootD_INCLUDE_DIR "@PACKAGE_CMAKE_INSTALL_INCLUDEDIR@/xrootd")
set_and_check(XRootD_LIB_DIR "@PACKAGE_CMAKE_INSTALL_LIBDIR@")

set(XRootD_INCLUDE_DIRS "${XRootD_INCLUDE_DIR};${XRootD_INCLUDE_DIR}/private")
Expand Down

0 comments on commit ccedaab

Please sign in to comment.