changeset 542:efdf45c5aeb0

cont
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 20 Mar 2019 12:38:48 +0100
parents 2f17b3659781
children 731b40e9bfe1
files Resources/CMake/OrthancStoneConfiguration.cmake
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Resources/CMake/OrthancStoneConfiguration.cmake	Thu Mar 07 11:32:39 2019 +0100
+++ b/Resources/CMake/OrthancStoneConfiguration.cmake	Wed Mar 20 12:38:48 2019 +0100
@@ -25,7 +25,9 @@
 if (ENABLE_DCMTK)
   set(ENABLE_LOCALE ON)
 else()
-  set(ENABLE_LOCALE OFF)  # Disable support for locales (notably in Boost)
+  if (NOT DEFINED ENABLE_LOCALE)
+    set(ENABLE_LOCALE OFF)  # Disable support for locales (notably in Boost)
+  endif()
 endif()
 
 include(${ORTHANC_ROOT}/Resources/CMake/OrthancFrameworkConfiguration.cmake)