From 1491616dcf026a53430c8f6895ff27c4a53344d4 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Mon, 8 Oct 2018 11:35:28 -0700 Subject: Tests: only compile TestHelper if BT support is enabled Signed-off-by: Dirk Hohndel --- tests/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/CMakeLists.txt') diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 04b33b459..bd827cea5 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -92,7 +92,9 @@ TEST(TestUnitConversion testunitconversion.cpp) TEST(TestProfile testprofile.cpp) TEST(TestGpsCoords testgpscoords.cpp) TEST(TestParse testparse.cpp) -TEST(TestHelper testhelper.cpp) +if (BTSUPPORT) + TEST(TestHelper testhelper.cpp) +endif() TEST(TestParsePerformance testparseperformance.cpp) TEST(TestPlan testplan.cpp) TEST(TestDiveSiteDuplication testdivesiteduplication.cpp) -- cgit v1.2.3-70-g09d2