From fc8f366f4e9b5d183c5dc781c9725a51e59f4f09 Mon Sep 17 00:00:00 2001 From: paul-krug Date: Tue, 8 Apr 2025 14:33:38 +0530 Subject: [PATCH 1/2] cmake<3.5 no longer supported --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c40e5e1..c0763b7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ # CMakeList.txt : CMake project for VocalTractLabApi, include source and define # project specific logic here. # -cmake_minimum_required (VERSION 3.13) +cmake_minimum_required (VERSION 3.5) set(CMAKE_CXX_STANDARD 17) set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/lib/$) From 180525662f322c5529e719b16cf32e2ab89bcb0a Mon Sep 17 00:00:00 2001 From: paul-krug Date: Tue, 8 Apr 2025 14:59:28 +0530 Subject: [PATCH 2/2] Fix static backend build in cmakelists --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c0763b7..ff98770 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -56,8 +56,8 @@ src/VocalTractLabApi/VocalTractLabApi.def) project("VocalTractLabBackend") add_library(VocalTractLabBackend STATIC) -target_include_directories (VocalTractLabBackend PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include) -target_sources(VocalTractLabBackend PUBLIC ${BackendSources}) +target_include_directories(VocalTractLabBackend PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include) +target_sources(VocalTractLabBackend PRIVATE ${BackendSources}) include(FetchContent)