From 6cd058d3ae685caa825de5889dce3518ec208a33 Mon Sep 17 00:00:00 2001 From: JackBoosY <47264268+JackBoosY@users.noreply.github.com> Date: Thu, 16 May 2019 07:23:22 +0800 Subject: [PATCH] [fftw3]Changed library linkage to static. (#6434) --- ports/fftw3/CONTROL | 2 +- ports/fftw3/portfile.cmake | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ports/fftw3/CONTROL b/ports/fftw3/CONTROL index 1ff42851f5..92e1b915b7 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 17ce37ea25..17510ff083 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)