aboutsummaryrefslogtreecommitdiff
path: root/sysutils/bareos19-server/files/patch-core-cmake_BareosSetVariableDefaults.cmake
blob: 935c5a5b3177e48dd0f66131d0dad86e5381a4df (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- core/cmake/BareosSetVariableDefaults.cmake	2020-01-31 16:21:15.864122000 -0500
+++ core/cmake/BareosSetVariableDefaults.cmake	2020-01-31 16:23:58.960984000 -0500
@@ -641,7 +641,11 @@
 set(PACKAGE_URL "\"\"")
 set(PACKAGE_VERSION "\"${BAREOS_NUMERIC_VERSION}\"")
 
-set(ENABLE_NLS 1)
+if(nls)
+  SET(ENABLE_NLS 1)
+else()
+  SET(ENABLE_NLS 0)
+endif()
 
 if(HAVE_WIN32)