summaryrefslogtreecommitdiff
path: root/graphics/openorienteering-mapper/files/patch-src_sensors_CMakeLists.txt
blob: 66fc757a8f6e704f6855e3d84d4daaed0d87c870 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Add translation files only if the NLS knob is set

--- src/sensors/CMakeLists.txt.orig	2021-11-14 18:17:23 UTC
+++ src/sensors/CMakeLists.txt
@@ -181,8 +181,10 @@ endif()
 
 # Translations
 
+if(Mapper_WITH_NLS)
 mapper_translations_sources(
   ${MAPPER_SENSORS_SOURCES}
   ${NMEA_POSITION_SOURCES}
   ${POWERSHELL_POSITION_SOURCES}
 )
+endif()