File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,12 +45,6 @@ if(ACTS_ENABLE_CUDA)
4545 set (TRACCC_BUILD_CUDA ON CACHE BOOL "Build Traccc with CUDA support" )
4646endif ()
4747
48- set (TRACCC_SETUP_BENCHMARKS
49- OFF
50- CACHE BOOL
51- "Do not set up google benchmarks as part of Traccc"
52- )
53-
5448set (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
9578set (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+
10089set (TRACCC_BUILD_BENCHMARKS
10190 OFF
10291 CACHE BOOL
You can’t perform that action at this time.
0 commit comments