From 27f9c0223c01a5b7a81ef4dc921fda2be4d8b041 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Tue, 1 Mar 2022 17:48:05 +0100 Subject: [PATCH] use new cmake option --- linux/devices/CMakeLists.txt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/linux/devices/CMakeLists.txt b/linux/devices/CMakeLists.txt index 769c21f8..7d39837d 100644 --- a/linux/devices/CMakeLists.txt +++ b/linux/devices/CMakeLists.txt @@ -1,5 +1,7 @@ -target_sources(${OBSW_NAME} PRIVATE - GPSHyperionLinuxController.cpp -) +if(EIVE_BUILD_GPSD_GPS_HANDLER) + target_sources(${OBSW_NAME} PRIVATE + GPSHyperionLinuxController.cpp + ) +endif() -add_subdirectory(startracker) \ No newline at end of file +add_subdirectory(startracker)