[cppcms] Early detection and failure for static crt

This commit is contained in:
Robert Schumacher 2018-02-27 10:18:17 -08:00
parent e033dcd649
commit 021ea67aef

View File

@ -6,7 +6,7 @@ if(VCPKG_LIBRARY_LINKAGE STREQUAL static)
endif() endif()
if(VCPKG_CRT_LINKAGE STREQUAL static) if(VCPKG_CRT_LINKAGE STREQUAL static)
message("cppcms doesn't support static CRT linkage.") message(FATAL_ERROR "cppcms doesn't support static CRT linkage.")
endif() endif()
vcpkg_from_github( vcpkg_from_github(