Skip to content

Commit 5d007e9

Browse files
committed
More missing vcpkg flags
1 parent 36831fc commit 5d007e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/VcpkgCustomTriplets/common.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
set(VCPKG_LIBRARY_LINKAGE static)
2-
set(VCPKG_C_FLAGS "/Qspectre /W3 /guard:cf")
3-
set(VCPKG_CXX_FLAGS "/Qspectre /W3 /guard:cf")
2+
set(VCPKG_C_FLAGS "/Qspectre /W3 /guard:cf /D_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR")
3+
set(VCPKG_CXX_FLAGS "/Qspectre /W3 /guard:cf /D_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR")
44
set(VCPKG_INSTALL_OPTIONS, "--debug")
55

66
if(PORT MATCHES "cpprestsdk")

0 commit comments

Comments
 (0)