Unrar buildsystem doesn't support static building. Building dynamic instead

This commit is contained in:
AlISA Yang 2018-03-28 00:39:45 -07:00
parent 12d862ab2b
commit db2694fb23

View File

@ -6,7 +6,8 @@ set(UNRAR_URL http://www.rarlab.com/rar/${UNRAR_FILENAME})
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/unrar)
if (VCPKG_LIBRARY_LINKAGE STREQUAL "static")
message(FATAL_ERROR "Unrar does not currently support building statically")
message(STATUS "Unrar buildsystem doesn't support static building. Building dynamic instead.")
set(VCPKG_LIBRARY_LINKAGE dynamic)
endif()
#SRC