aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/scripts/boost/pre-build-stubs/locale.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/scripts/boost/pre-build-stubs/locale.cmake')
-rw-r--r--vcpkg/scripts/boost/pre-build-stubs/locale.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/vcpkg/scripts/boost/pre-build-stubs/locale.cmake b/vcpkg/scripts/boost/pre-build-stubs/locale.cmake
new file mode 100644
index 0000000..2ebcfc9
--- /dev/null
+++ b/vcpkg/scripts/boost/pre-build-stubs/locale.cmake
@@ -0,0 +1,4 @@
+if(CMAKE_HOST_SYSTEM_NAME STREQUAL "Linux" AND VCPKG_TARGET_IS_MINGW)
+ # mingw cross compile toolchain lacks std conv support
+ list(APPEND FEATURE_OPTIONS "-DBOOST_LOCALE_ENABLE_STD=OFF")
+endif() \ No newline at end of file