From e61cea07e0410ebfbd3dd1c3f52d8a6114b9b151 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Sat, 29 Jun 2019 23:52:43 -0500 Subject: [PATCH] [ox/ptrarith] Disable ptrarith tests when OX_RUN_TESTS is not set (synced from 6493a5e10edf916f3a53e263a555198ee6049415) --- src/ox/ptrarith/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ox/ptrarith/CMakeLists.txt b/src/ox/ptrarith/CMakeLists.txt index a3a44531c..a6092fadd 100644 --- a/src/ox/ptrarith/CMakeLists.txt +++ b/src/ox/ptrarith/CMakeLists.txt @@ -6,4 +6,6 @@ install( include/ox/ptrarith ) -add_subdirectory(test) +if(OX_RUN_TESTS) + add_subdirectory(test) +endif()