[fftw3]Changed library linkage to static. (#6434)

This commit is contained in:
JackBoosY 2019-05-16 07:23:22 +08:00 committed by Victor Romero
parent efdd1f1766
commit 6cd058d3ae
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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)