[qt5] Fastfail static builds

This commit is contained in:
Robert Schumacher 2017-07-03 19:08:24 -07:00
parent 20eac63999
commit b33632943c
1 changed files with 4 additions and 0 deletions

View File

@ -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)