Skip to content

Commit 3410b5d

Browse files
committed
GPU CMake: Simplify header install logic for GPUCommon
1 parent 3b23e9a commit 3410b5d

File tree

1 file changed

+1
-19
lines changed

1 file changed

+1
-19
lines changed

GPU/Common/CMakeLists.txt

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -11,24 +11,6 @@
1111

1212
set(MODULE GPUCommon)
1313

14-
set(HDRS_INSTALL
15-
GPUCommonAlgorithm.h
16-
GPUCommonAlignedAlloc.h
17-
GPUCommonDef.h
18-
GPUCommonDefAPI.h
19-
GPUCommonHelpers.h
20-
GPUCommonDefSettings.h
21-
GPUCommonConstants.h
22-
GPUCommonLogger.h
23-
GPUCommonMath.h
24-
GPUCommonRtypes.h
25-
GPUCommonArray.h
26-
GPUCommonTypeTraits.h
27-
GPUCommonTransform3D.h
28-
GPUROOTSMatrixFwd.h
29-
GPUROOTCartesianFwd.h
30-
GPUDebugStreamer.h)
31-
3214
if(ALIGPU_BUILD_TYPE STREQUAL "O2")
3315
o2_add_library(${MODULE}
3416
SOURCES ../GPUTracking/utils/EmptyFile.cxx
@@ -65,4 +47,4 @@ if(ALIGPU_BUILD_TYPE STREQUAL "O2")
6547
# endif()
6648
endif()
6749

68-
install(FILES ${HDRS_INSTALL} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/GPU)
50+
install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/GPU FILES_MATCHING PATTERN "*.h" PATTERN "test" EXCLUDE)

0 commit comments

Comments
 (0)