Closed
Description
Hi,
I am trying to compile a win32 package of cpprestsdk with vcpkg and enforce the use of pplx.
I added the -DCPPREST_PPLX_IMPL:STRING=winpplx variable to the portfile.cmake, so that the config block looks like:
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}/Release
PREFER_NINJA
OPTIONS
${OPTIONS}
-DBUILD_TESTS=OFF
-DBUILD_SAMPLES=OFF
-DCPPREST_EXCLUDE_WEBSOCKETS=OFF
-DCPPREST_EXPORT_DIR=share/cpprestsdk
-DWERROR=OFF
-DCPPREST_PPLX_IMPL:STRING=winpplx
OPTIONS_DEBUG
-DCPPREST_INSTALL_HEADERS=OFF
)
The build will fail with several errors.
Compiling in vcpkg without the variable works. Also compiling from the visual strudio project files from this repository works, when the CPPREST_FORCE_PPLX preprocessor definition is set.
What am I doing wrong?
Metadata
Metadata
Assignees
Labels
No labels