Skip to content

Commit 75bc7cf

Browse files
committed
turn off TBB build
1 parent 8785d23 commit 75bc7cf

1 file changed

Lines changed: 11 additions & 22 deletions

File tree

thirdparty/traccc/CMakeLists.txt

Lines changed: 11 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,6 @@ if(ACTS_ENABLE_CUDA)
4545
set(TRACCC_BUILD_CUDA ON CACHE BOOL "Build Traccc with CUDA support")
4646
endif()
4747

48-
set(TRACCC_SETUP_BENCHMARKS
49-
OFF
50-
CACHE BOOL
51-
"Do not set up google benchmarks as part of Traccc"
52-
)
53-
5448
set(TRACCC_BUILD_IO
5549
ON
5650
CACHE BOOL
@@ -75,28 +69,23 @@ set(TRACCC_BUILD_TESTING
7569
"Turn off the build of the Traccc unit tests"
7670
)
7771

78-
if(ACTS_BUILD_EXAMPLES)
79-
set(TRACCC_SETUP_TBB
80-
OFF
81-
CACHE BOOL
82-
"Do not set up TBB as part of Traccc"
83-
FORCE
84-
)
85-
set(TRACCC_USE_SYSTEM_TBB ON CACHE BOOL "Use system TBB" FORCE)
86-
find_package(TBB REQUIRED)
87-
88-
set(TRACCC_BUILD_EXAMPLES
89-
ON
90-
CACHE BOOL
91-
"Turn off the build of the Traccc examples"
92-
)
93-
endif()
72+
set(TRACCC_SETUP_TBB
73+
OFF
74+
CACHE BOOL
75+
"Do not set up TBB as part of Traccc"
76+
)
9477

9578
set(TRACCC_BUILD_EXAMPLES
9679
OFF
9780
CACHE BOOL
9881
"Turn off the build of the Traccc examples"
9982
)
83+
84+
if(TRACCC_BUILD_EXAMPLES)
85+
set(TRACC_USE_SYSTEM_TBB ON CACHE BOOL "Use the system TBB for the Traccc examples")
86+
find_package(TBB REQUIRED)
87+
endif()
88+
10089
set(TRACCC_BUILD_BENCHMARKS
10190
OFF
10291
CACHE BOOL

0 commit comments

Comments
 (0)