diff options
| author | Alexander Karatarakis <alex@karatarakis.com> | 2018-03-29 13:55:36 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-03-29 13:55:36 -0700 |
| commit | e48a58b2712f060df1a5301c1d7fd2e7ae282858 (patch) | |
| tree | 927ac8023732ecbf6d019cc9e0574585cc7c6346 | |
| parent | e90c5e61eabe12d93486d17dde89b7de979da7d6 (diff) | |
| parent | db2694fb2384e85d54def1d4164f1cb763cd2eb6 (diff) | |
| download | vcpkg-e48a58b2712f060df1a5301c1d7fd2e7ae282858.tar.gz vcpkg-e48a58b2712f060df1a5301c1d7fd2e7ae282858.zip | |
Merge pull request #3160 from Alisayyy-Yang/fixUnrar
Unrar buildsystem doesn't support static building. Building dynamic
| -rw-r--r-- | ports/unrar/portfile.cmake | 3 |
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 |
