mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 00:29:56 +08:00
8c228c8eca
In an internal version of Visual Studio, `arrow`, `concurrencpp` and `qtwebengine` install failed with following error: ``` arrow: \cpp\src\arrow/json/object_writer.h(39): error C2039: 'string': is not a member of 'std' concurrencpp: \include\concurrencpp/threads/thread.h(23): error C2039: 'string': is not a member of 'std' qtwebengine: \src\3rdparty\gn\src\gn\escape.h(77): error C2039: 'string': is not a member of 'std' ``` This issue caused by the STL PR: https://github.com/microsoft/STL/pull/4633, and according to Stephan's suggestion, the affected files need to include the `Standard <string> header`. I have submitted an issue on the qt upstream: https://bugreports.qt.io/browse/QTBUG-126156
23 lines
631 B
CMake
23 lines
631 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO David-Haim/concurrencpp
|
|
REF "v.${VERSION}"
|
|
SHA512 b87a6bd0593d6a7d35f911a0a9835e1afe416aa25d06e4d448789617c94ec2faeb5df07d68d5ccc7e986009f09016f90ef57016b1aabe567996d3ad9816add4c
|
|
HEAD_REF master
|
|
PATCHES
|
|
fix-include-path.patch
|
|
add-include-string.patch
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/concurrencpp-${VERSION}")
|
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt")
|