diff options
| author | Alexander Neumann <alexander.neumann@hamburg.de> | 2020-02-03 13:08:37 +0100 |
|---|---|---|
| committer | Alexander Neumann <alexander.neumann@hamburg.de> | 2020-02-03 13:08:37 +0100 |
| commit | 8c64335e2127d32c51c02779a5b8bcbc239b9a0f (patch) | |
| tree | 1a41b580d185c3a2586129184b847ed4770dbfd3 | |
| parent | d8167d3188d5d15c57fe608a968c65cd41bd5358 (diff) | |
| download | vcpkg-8c64335e2127d32c51c02779a5b8bcbc239b9a0f.tar.gz vcpkg-8c64335e2127d32c51c02779a5b8bcbc239b9a0f.zip | |
Fatal error on invalid feature combination.
| -rw-r--r-- | ports/libwebp/portfile.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ports/libwebp/portfile.cmake b/ports/libwebp/portfile.cmake index 2682baa3b..9dcf6e971 100644 --- a/ports/libwebp/portfile.cmake +++ b/ports/libwebp/portfile.cmake @@ -42,6 +42,10 @@ if(VCPKG_TARGET_IS_OSX) endif() endif() +if("webp_js" IN_LIST FEATURES AND "${FEATURES}" MATCHES "(anim|gif2webp|img2webp|extras|info|vwebp|mux|cwebp|dwebp)") + message(FATAL_ERROR "Feature webp_js conflicts with features anim|gif2webp|img2webp|extras|info|vwebp|mux|cwebp|dwebp!") +endif() + vcpkg_configure_cmake( SOURCE_PATH ${SOURCE_PATH} PREFER_NINJA |
