mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 10:21:07 +08:00
[gtest] Silence TR1 deprecation warning
This commit is contained in:
parent
3838d58804
commit
322e9254c1
@ -28,6 +28,8 @@ vcpkg_configure_cmake(
|
||||
OPTIONS -Dgtest_force_shared_crt=${gtest_force_shared_crt}
|
||||
)
|
||||
|
||||
set(ENV{_CL_} "/D_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING")
|
||||
|
||||
vcpkg_install_cmake()
|
||||
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||
|
Loading…
x
Reference in New Issue
Block a user