diff options
Diffstat (limited to 'ports')
| -rw-r--r-- | ports/opencv/portfile.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
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 |
