diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2018-10-18 17:33:27 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2018-10-23 12:23:40 +0200 |
commit | 282c71e8e9a8ec9c2eab612f2e60a71b15d24c8a (patch) | |
tree | 2d5a7d0f9b054af2686fe94dfa8c5690e8c92e72 /cmake/codecvt.cmake | |
parent | 729eeeb3f821981cc5d3c9e06ffbb85ed4d857d7 (diff) | |
download | qtlocation-mapboxgl-282c71e8e9a8ec9c2eab612f2e60a71b15d24c8a.tar.gz |
[core] unify UTF-8/16 conversion to <boost/locale/encoding_utf.hpp>
Diffstat (limited to 'cmake/codecvt.cmake')
-rw-r--r-- | cmake/codecvt.cmake | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/cmake/codecvt.cmake b/cmake/codecvt.cmake deleted file mode 100644 index 8228a6df6b..0000000000 --- a/cmake/codecvt.cmake +++ /dev/null @@ -1,19 +0,0 @@ -add_library(codecvt INTERFACE) - -# Determine if the STL has codecvt -file(WRITE "${CMAKE_BINARY_DIR}/features/codecvt/main.cpp" "#include <codecvt>\nint main() {}") -try_compile(STL_SUPPORTS_CODECVT - "${CMAKE_BINARY_DIR}/features/codecvt" - SOURCES "${CMAKE_BINARY_DIR}/features/codecvt/main.cpp" - CMAKE_FLAGS "-DCMAKE_MACOSX_BUNDLE:STRING=YES" "-DCMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_REQUIRED:STRING=NO" - COMPILE_DEFINITIONS "-std=c++14" # CXX_STANDARD wasn't added to try_compile until CMake 3.8 - OUTPUT_VARIABLE CODECVT_TEST_OUTPUT -) - -if (NOT STL_SUPPORTS_CODECVT) - if ($ENV{V}) - message("codecvt support not detected: ${CODECVT_TEST_OUTPUT}") - endif() - target_include_directories(codecvt INTERFACE platform/default/codecvt) - target_add_mason_package(codecvt INTERFACE boost) -endif() |