aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJackBoosY <47264268+JackBoosY@users.noreply.github.com>2019-05-16 07:23:22 +0800
committerVictor Romero <romerosanchezv@gmail.com>2019-05-15 16:23:22 -0700
commit6cd058d3ae685caa825de5889dce3518ec208a33 (patch)
tree42de25cb479d6595e99882eb5cfc6c142e93473d
parentefdd1f17669fba04a9dc392d3e97de2311c45528 (diff)
downloadvcpkg-6cd058d3ae685caa825de5889dce3518ec208a33.tar.gz
vcpkg-6cd058d3ae685caa825de5889dce3518ec208a33.zip
[fftw3]Changed library linkage to static. (#6434)
-rw-r--r--ports/fftw3/CONTROL2
-rw-r--r--ports/fftw3/portfile.cmake2
2 files changed, 3 insertions, 1 deletions
diff --git a/ports/fftw3/CONTROL b/ports/fftw3/CONTROL
index 1ff42851f..92e1b915b 100644
--- a/ports/fftw3/CONTROL
+++ b/ports/fftw3/CONTROL
@@ -1,5 +1,5 @@
Source: fftw3
-Version: 3.3.8-3
+Version: 3.3.8-4
Description: FFTW is a C subroutine library for computing the discrete Fourier transform (DFT) in one or more dimensions, of arbitrary input size, and of both real and complex data (as well as of even/odd data, i.e. the discrete cosine/sine transforms or DCT/DST).
Feature: openmp
diff --git a/ports/fftw3/portfile.cmake b/ports/fftw3/portfile.cmake
index 17ce37ea2..17510ff08 100644
--- a/ports/fftw3/portfile.cmake
+++ b/ports/fftw3/portfile.cmake
@@ -1,6 +1,8 @@
include(vcpkg_common_functions)
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/fftw-3.3.8)
+vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
+
# This can be removed in the next source code update
if(EXISTS "${SOURCE_PATH}/CMakeLists.txt")
file(READ "${SOURCE_PATH}/CMakeLists.txt" _contents)