diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/cpprestsdk/test.patch | |
Diffstat (limited to 'vcpkg/ports/cpprestsdk/test.patch')
| -rw-r--r-- | vcpkg/ports/cpprestsdk/test.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/vcpkg/ports/cpprestsdk/test.patch b/vcpkg/ports/cpprestsdk/test.patch new file mode 100644 index 0000000..c5507e8 --- /dev/null +++ b/vcpkg/ports/cpprestsdk/test.patch @@ -0,0 +1,23 @@ +diff --git a/Release/src/CMakeLists.txt b/Release/src/CMakeLists.txt +index 098d33f..7f1f650 100644 +--- a/Release/src/CMakeLists.txt ++++ b/Release/src/CMakeLists.txt +@@ -218,15 +218,15 @@ if (WIN32 AND NOT WINDOWS_STORE AND NOT WINDOWS_PHONE) + crypt32.lib + ) + elseif(WINDOWS_STORE) +- if(NOT CMAKE_GENERATOR MATCHES "Visual Studio .*") +- target_compile_definitions(cpprest PRIVATE -DWINAPI_FAMILY=WINAPI_FAMILY_PC_APP) ++ ++ target_compile_definitions(cpprest PUBLIC -DWINAPI_FAMILY=WINAPI_FAMILY_PC_APP) + get_target_property(LINK_FLAGS cpprest LINK_FLAGS) + if(NOT LINK_FLAGS) + set(LINK_FLAGS "") + endif() + set(LINK_FLAGS "${LINK_FLAGS} /APPCONTAINER") + set_target_properties(cpprest PROPERTIES LINK_FLAGS "${LINK_FLAGS}") +- endif() ++ + endif() + + set_target_properties(cpprest PROPERTIES OUTPUT_NAME "cpprest${CPPREST_ABI_TAG}") |