From fded91c062d89cd47060cfb251d916a27473224d Mon Sep 17 00:00:00 2001 From: Alexander Karatarakis Date: Wed, 26 Oct 2016 19:23:55 -0700 Subject: [opencv] Mark as not static ready --- ports/opencv/portfile.cmake | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ports/opencv/portfile.cmake b/ports/opencv/portfile.cmake index 49fa463a2..b6665eedc 100644 --- a/ports/opencv/portfile.cmake +++ b/ports/opencv/portfile.cmake @@ -1,3 +1,7 @@ +include(${CMAKE_TRIPLET_FILE}) +if (VCPKG_LIBRARY_LINKAGE STREQUAL static) + message(FATAL_ERROR "Static building not supported yet. Portfile not modified and blocked by libjpeg-turbo.") +endif() include(vcpkg_common_functions) set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/opencv-92387b1ef8fad15196dd5f7fb4931444a68bc93a) vcpkg_download_distfile(ARCHIVE -- cgit v1.2.3