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)