aboutsummaryrefslogtreecommitdiff
path: root/ports/soundtouch
diff options
context:
space:
mode:
Diffstat (limited to 'ports/soundtouch')
-rw-r--r--ports/soundtouch/CONTROL8
-rw-r--r--ports/soundtouch/portfile.cmake10
2 files changed, 5 insertions, 13 deletions
diff --git a/ports/soundtouch/CONTROL b/ports/soundtouch/CONTROL
index 7ae158b88..012b7c9df 100644
--- a/ports/soundtouch/CONTROL
+++ b/ports/soundtouch/CONTROL
@@ -1,4 +1,4 @@
-Source: soundtouch
-Version: 2.0.0-1
-Description: SoundTouch is an open-source audio processing library for changing the Tempo, Pitch and Playback Rates of audio streams or audio files.
-Build-Depends: atlmfc
+Source: soundtouch
+Version: 2.0.0-2
+Description: SoundTouch is an open-source audio processing library for changing the Tempo, Pitch and Playback Rates of audio streams or audio files.
+Build-Depends: atlmfc
diff --git a/ports/soundtouch/portfile.cmake b/ports/soundtouch/portfile.cmake
index b7fb1fb45..c9fbd3623 100644
--- a/ports/soundtouch/portfile.cmake
+++ b/ports/soundtouch/portfile.cmake
@@ -1,14 +1,6 @@
include(vcpkg_common_functions)
-# NOTE: SoundTouch has a static c++ version too, but entirely different headers, api, etc
-if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
- message(STATUS "Warning: Static building not supported. Building dynamic.")
- set(VCPKG_LIBRARY_LINKAGE dynamic)
-endif()
-
-if(VCPKG_CRT_LINKAGE STREQUAL "static")
- message(FATAL_ERROR "Refusing to build DLL with static CRT linkage.")
-endif()
+vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY ONLY_DYNAMIC_CRT)
if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
message(FATAL_ERROR "WindowsStore not supported")