diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2017-07-03 19:08:24 -0700 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2017-07-03 19:08:24 -0700 |
| commit | b33632943c51a53c61fbbfe38b4f23c1767dc602 (patch) | |
| tree | 17c7d679697e78f51b0fd7203e147ba0f4cd7e8d | |
| parent | 20eac6399951d1bd25af6e68fad093d2076038d4 (diff) | |
| download | vcpkg-b33632943c51a53c61fbbfe38b4f23c1767dc602.tar.gz vcpkg-b33632943c51a53c61fbbfe38b4f23c1767dc602.zip | |
[qt5] Fastfail static builds
| -rw-r--r-- | ports/qt5/portfile.cmake | 4 |
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) |
