[ace] Add check for static building

This commit is contained in:
Alexander Karatarakis 2016-10-25 19:04:07 -07:00
parent 71bb6b158a
commit 1de1cec372

View File

@ -1,3 +1,7 @@
include(${CMAKE_TRIPLET_FILE})
if (VCPKG_LIBRARY_LINKAGE STREQUAL static)
message(FATAL_ERROR "Static building not supported yet")
endif()
include(vcpkg_common_functions)
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/ACE_wrappers/ace)
vcpkg_download_distfile(ARCHIVE