From 5a9d1e78df10ab6e5c176227597aabfe455b7c9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Hock?= Date: Mon, 27 Nov 2023 08:27:05 +0100 Subject: [PATCH] Update atan2 approximation --- lib/CPM.cmake | 2 ++ lib/PocketFFT.cmake | 2 +- lib/StftPitchShift.cmake | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/CPM.cmake b/lib/CPM.cmake index 6852690..920b9bf 100644 --- a/lib/CPM.cmake +++ b/lib/CPM.cmake @@ -4,7 +4,9 @@ set(CPMSRC "https://github.com/cpm-cmake/CPM.cmake/releases/download/v0.38.6/CPM set(CPMDST "${CMAKE_BINARY_DIR}/CPM.cmake") if(NOT EXISTS "${CPMDST}") + file(DOWNLOAD "${CPMSRC}" "${CPMDST}") + endif() include("${CPMDST}") diff --git a/lib/PocketFFT.cmake b/lib/PocketFFT.cmake index 3a473f5..b641007 100644 --- a/lib/PocketFFT.cmake +++ b/lib/PocketFFT.cmake @@ -20,7 +20,7 @@ if(pocketfft_ADDED) target_compile_definitions(pocketfft INTERFACE -DPOCKETFFT_CACHE_SIZE=10) - if (UNIX) + if(UNIX) target_link_libraries(pocketfft INTERFACE pthread) endif() diff --git a/lib/StftPitchShift.cmake b/lib/StftPitchShift.cmake index 2648879..46cb54d 100644 --- a/lib/StftPitchShift.cmake +++ b/lib/StftPitchShift.cmake @@ -3,7 +3,7 @@ CPMAddPackage( NAME stftpitchshift VERSION 2.0 - GIT_TAG d555496c04ee993b120f578af613cb0b4a82915e + GIT_TAG 8ed07cbd2f94d392af025d2946d70b6903ca2abf GITHUB_REPOSITORY jurihock/stftPitchShift DOWNLOAD_ONLY YES)