Skip to content

Commit 27a57c2

Browse files
kostorrBarthelemy
authored andcommitted
Don't build TestCruBar when PDA is not present (#15) (ORC-95)
1 parent ffc4926 commit 27a57c2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

CMakeLists.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,6 @@ enable_testing()
202202
set(TEST_SRCS
203203
test/TestChannelFactoryUtils.cxx
204204
test/TestChannelPaths.cxx
205-
test/TestCruBar.cxx
206205
test/TestCruDataFormat.cxx
207206
test/TestEnums.cxx
208207
test/TestInterprocessLock.cxx
@@ -214,6 +213,11 @@ set(TEST_SRCS
214213
test/TestSuperpageQueue.cxx
215214
)
216215

216+
if(ALICEO2_READOUTCARD_PDA_ENABLED)
217+
list(APPEND TEST_SRCS
218+
test/TestCruBar.cxx)
219+
endif()
220+
217221
O2_GENERATE_TESTS(
218222
MODULE_LIBRARY_NAME ${LIBRARY_NAME}
219223
BUCKET_NAME ${BUCKET_NAME}

0 commit comments

Comments
 (0)