diff options
| -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 |
