aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlISA Yang <mdTestAU@microsoft.com>2018-03-28 00:39:45 -0700
committerAlISA Yang <mdTestAU@microsoft.com>2018-03-28 00:39:45 -0700
commitdb2694fb2384e85d54def1d4164f1cb763cd2eb6 (patch)
treeced2258ba643df192f0f3adb7d135f0d320d8d7c
parent12d862ab2b6e387b596e680d334daa212b77fb32 (diff)
downloadvcpkg-db2694fb2384e85d54def1d4164f1cb763cd2eb6.tar.gz
vcpkg-db2694fb2384e85d54def1d4164f1cb763cd2eb6.zip
Unrar buildsystem doesn't support static building. Building dynamic instead
-rw-r--r--ports/unrar/portfile.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/ports/unrar/portfile.cmake b/ports/unrar/portfile.cmake
index 0528c8b97..19c7c9d7a 100644
--- a/ports/unrar/portfile.cmake
+++ b/ports/unrar/portfile.cmake
@@ -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