aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLazyHamster <ariman@inbox.ru>2017-10-12 20:06:28 +0300
committerLazyHamster <ariman@inbox.ru>2017-10-12 20:06:28 +0300
commitbc141aa2c7e9e9adb81c16353d6de7e44c6136a1 (patch)
tree29fb3de0a1154c4c193eca2d4a99f125f13aa56e
parent88761e1b2fcd0a8c6fd153e589bc6f28c5bb0812 (diff)
downloadvcpkg-bc141aa2c7e9e9adb81c16353d6de7e44c6136a1.tar.gz
vcpkg-bc141aa2c7e9e9adb81c16353d6de7e44c6136a1.zip
[libidn2] Remove redundant cmake option.
-rw-r--r--ports/libidn2/portfile.cmake8
1 files changed, 0 insertions, 8 deletions
diff --git a/ports/libidn2/portfile.cmake b/ports/libidn2/portfile.cmake
index 41d79e3b1..bbe8f7bbe 100644
--- a/ports/libidn2/portfile.cmake
+++ b/ports/libidn2/portfile.cmake
@@ -33,16 +33,8 @@ simple_copy_template_header(${SOURCE_PATH}/unistring unistr)
simple_copy_template_header(${SOURCE_PATH}/unistring unitypes)
simple_copy_template_header(${SOURCE_PATH}/unistring alloca)
-if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
- set(IDN2_BUILD_SHARED_LIBS ON)
-else()
- set(IDN2_BUILD_SHARED_LIBS OFF)
-endif()
-
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
- OPTIONS
- -DBUILD_SHARED_LIBS=${IDN2_BUILD_SHARED_LIBS}
)
vcpkg_install_cmake()