Skip to content

Commit 79ce47b

Browse files
committed
GPU CMake: remove unnecessary compile definitions
1 parent addafd6 commit 79ce47b

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

GPU/Common/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@ if(ALIGPU_BUILD_TYPE STREQUAL "O2")
3737
PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}>
3838
$<INSTALL_INTERFACE:include/GPU>)
3939

40-
target_compile_definitions(${targetName} PRIVATE GPUCA_O2_LIB GPUCA_TPC_GEOMETRY_O2)
41-
4240
# cuda test, only compile if CUDA
4341
if(CUDA_ENABLED)
4442
o2_add_test(GPUsortCUDA NAME test_GPUsortCUDA

GPU/Utils/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,5 @@ if(ALIGPU_BUILD_TYPE STREQUAL "O2")
3131
HEADERS ${HDRS_CINT}
3232
LINKDEF GPUUtilsLinkDef.h)
3333

34-
target_compile_definitions(${targetName} PRIVATE GPUCA_O2_LIB GPUCA_TPC_GEOMETRY_O2)
35-
3634
install(FILES ${HDRS_CINT} ${HDRS_INSTALL} DESTINATION include/GPU)
3735
endif()

0 commit comments

Comments
 (0)