aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2017-07-03 19:08:24 -0700
committerRobert Schumacher <roschuma@microsoft.com>2017-07-03 19:08:24 -0700
commitb33632943c51a53c61fbbfe38b4f23c1767dc602 (patch)
tree17c7d679697e78f51b0fd7203e147ba0f4cd7e8d
parent20eac6399951d1bd25af6e68fad093d2076038d4 (diff)
downloadvcpkg-b33632943c51a53c61fbbfe38b4f23c1767dc602.tar.gz
vcpkg-b33632943c51a53c61fbbfe38b4f23c1767dc602.zip
[qt5] Fastfail static builds
-rw-r--r--ports/qt5/portfile.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/ports/qt5/portfile.cmake b/ports/qt5/portfile.cmake
index cf127bf1b..a76186256 100644
--- a/ports/qt5/portfile.cmake
+++ b/ports/qt5/portfile.cmake
@@ -7,6 +7,10 @@ if(BUILDTREES_PATH_LENGTH GREATER 27)
)
endif()
+if(VCPKG_LIBRARY_LINKAGE STREQUAL static)
+ message(FATAL_ERROR "Qt5 doesn't currently support static builds. Please use a dynamic triplet instead.")
+endif()
+
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR})
include(configure_qt)
include(install_qt)