diff Resources/CMake/DatabasesFrameworkConfiguration.cmake @ 30:e7732cf515df

fix freebsd
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 16 Jul 2018 17:39:24 +0200
parents b2ff1cd2907a
children a9b8375099f6
line wrap: on
line diff
--- a/Resources/CMake/DatabasesFrameworkConfiguration.cmake	Mon Jul 16 15:20:35 2018 +0200
+++ b/Resources/CMake/DatabasesFrameworkConfiguration.cmake	Mon Jul 16 17:39:24 2018 +0200
@@ -35,9 +35,9 @@
   set(ENABLE_CRYPTO_OPTIONS ON)
   set(ENABLE_SSL ON)
   set(ENABLE_ZLIB ON)
+  set(ENABLE_LOCALE ON)           # iconv is needed
 
   if ("${CMAKE_SYSTEM_NAME}" STREQUAL "Windows")
-    set(ENABLE_LOCALE ON)           # iconv is needed
     set(ENABLE_OPENSSL_ENGINES ON)
     set(ENABLE_WEB_CLIENT ON)       # libcurl is needed if targetting Windows
   endif()