From daea6847114d447f4ed2a2e76cda2202b20402f6 Mon Sep 17 00:00:00 2001 From: Takamitsu Endo Date: Mon, 16 May 2022 13:31:46 +0900 Subject: [PATCH] Change deprecated functions in *.cmake --- common/cmake/non_simd.cmake | 6 +++--- common/cmake/runtime_simd_switch.cmake | 6 +++--- common/cmake/runtime_simd_switch_fftw3.cmake | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/common/cmake/non_simd.cmake b/common/cmake/non_simd.cmake index e34be78c..560228ae 100644 --- a/common/cmake/non_simd.cmake +++ b/common/cmake/non_simd.cmake @@ -47,11 +47,11 @@ function(build_vst3 plug_sources) if(length GREATER 1) message(WARNING "Several snapshots found. Using ${snapshot_path}") endif() - smtg_add_vst3_snapshot(${target} "${snapshot_path}") + smtg_target_add_plugin_snapshots(${target} "${snapshot_path}") endif() - smtg_add_plugin_resource(${target} "../common/resource/Fonts/Tinos-BoldItalic.ttf" "Fonts") - smtg_add_plugin_resource(${target} "../common/resource/Fonts/LICENSE.txt" "Fonts") + smtg_target_add_plugin_resource(${target} "../common/resource/Fonts/Tinos-BoldItalic.ttf" "Fonts") + smtg_target_add_plugin_resource(${target} "../common/resource/Fonts/LICENSE.txt" "Fonts") if(SMTG_MAC) smtg_set_bundle(${target} INFOPLIST "${CMAKE_CURRENT_LIST_DIR}/resource/Info.plist" PREPROCESS) diff --git a/common/cmake/runtime_simd_switch.cmake b/common/cmake/runtime_simd_switch.cmake index 8f6158af..5eb466b9 100644 --- a/common/cmake/runtime_simd_switch.cmake +++ b/common/cmake/runtime_simd_switch.cmake @@ -104,11 +104,11 @@ function(build_vst3 plug_sources) if(length GREATER 1) message(WARNING "Several snapshots found. Using ${snapshot_path}") endif() - smtg_add_vst3_snapshot(${target} "${snapshot_path}") + smtg_target_add_plugin_snapshots(${target} "${snapshot_path}") endif() - smtg_add_plugin_resource(${target} "../common/resource/Fonts/Tinos-BoldItalic.ttf" "Fonts") - smtg_add_plugin_resource(${target} "../common/resource/Fonts/LICENSE.txt" "Fonts") + smtg_target_add_plugin_resource(${target} "../common/resource/Fonts/Tinos-BoldItalic.ttf" "Fonts") + smtg_target_add_plugin_resource(${target} "../common/resource/Fonts/LICENSE.txt" "Fonts") if(SMTG_MAC) smtg_set_bundle(${target} INFOPLIST "${CMAKE_CURRENT_LIST_DIR}/resource/Info.plist" PREPROCESS) diff --git a/common/cmake/runtime_simd_switch_fftw3.cmake b/common/cmake/runtime_simd_switch_fftw3.cmake index fcfd8cb7..2275dc38 100644 --- a/common/cmake/runtime_simd_switch_fftw3.cmake +++ b/common/cmake/runtime_simd_switch_fftw3.cmake @@ -123,11 +123,11 @@ function(build_vst3 plug_sources) if(length GREATER 1) message(WARNING "Several snapshots found. Using ${snapshot_path}") endif() - smtg_add_vst3_snapshot(${target} "${snapshot_path}") + smtg_target_add_plugin_snapshots(${target} "${snapshot_path}") endif() - smtg_add_plugin_resource(${target} "../common/resource/Fonts/Tinos-BoldItalic.ttf" "Fonts") - smtg_add_plugin_resource(${target} "../common/resource/Fonts/LICENSE.txt" "Fonts") + smtg_target_add_plugin_resource(${target} "../common/resource/Fonts/Tinos-BoldItalic.ttf" "Fonts") + smtg_target_add_plugin_resource(${target} "../common/resource/Fonts/LICENSE.txt" "Fonts") if(SMTG_MAC) smtg_set_bundle(${target} INFOPLIST "${CMAKE_CURRENT_LIST_DIR}/resource/Info.plist" PREPROCESS)