Skip to content

Commit 54498f2

Browse files
update cmake
Signed-off-by: AdityaPandeyCN <[email protected]>
1 parent 87014b3 commit 54498f2

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

test/CMakeLists.txt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,14 @@ function(add_ramcore_test test_name)
1010
ROOT::Tree
1111
ROOT::ROOTNTuple
1212
ROOT::RIO
13+
sam_generator
1314
gtest
1415
gtest_main
1516
)
1617

1718
if(RAMTOOLS_BUILD_BENCHMARKS)
18-
target_link_libraries(${test_name}
19-
sam_generator
20-
benchmark::benchmark
21-
)
19+
20+
target_link_libraries(${test_name} benchmark::benchmark)
2221
endif()
2322

2423
target_include_directories(${test_name}

0 commit comments

Comments
 (0)