aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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