From 47a64059a10eadfe10e3688199a7d5b705c10152 Mon Sep 17 00:00:00 2001 From: Luis Michaelis Date: Fri, 3 May 2024 11:10:25 +0200 Subject: [PATCH] fix(build): rename TSF target and make static --- vendor/CMakeLists.txt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/vendor/CMakeLists.txt b/vendor/CMakeLists.txt index b0dccc5..8c73f90 100644 --- a/vendor/CMakeLists.txt +++ b/vendor/CMakeLists.txt @@ -1,6 +1,4 @@ cmake_minimum_required(VERSION 3.10) -add_library(tsf TinySoundFont/tsf.c) -target_include_directories(tsf PUBLIC TinySoundFont) -target_compile_options(tsf PRIVATE "-fPIC") -target_link_options(tsf PRIVATE "-fPIC") +add_library(dmusic-tsf STATIC TinySoundFont/tsf.c) +target_include_directories(dmusic-tsf PUBLIC TinySoundFont)