We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91fc407 commit 91d8e5fCopy full SHA for 91d8e5f
cmake/modules/RootMacros.cmake
@@ -1242,6 +1242,16 @@ function(ROOT_STANDARD_LIBRARY_PACKAGE libname)
1242
endif()
1243
1244
1245
+ foreach (h ${ARG_HEADERS})
1246
+ if (EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/inc/${h}")
1247
+ list(APPEND ARG_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/inc/${h}")
1248
+ elseif (EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/v7/inc/${h}")
1249
+ list(APPEND ARG_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/v7/inc/${h}")
1250
+ else()
1251
+ message("Could not find directory of header file: ${h}")
1252
+ endif()
1253
+ endforeach()
1254
+
1255
if (ARG_OBJECT_LIBRARY)
1256
ROOT_OBJECT_LIBRARY(${libname}Objs ${ARG_SOURCES}
1257
$<$<BOOL:${ARG_NO_SOURCES}>:dummy.cxx>)
0 commit comments