Skip to content

Commit

Permalink
fix(build): rename TSF target and make static
Browse files Browse the repository at this point in the history
  • Loading branch information
lmichaelis committed May 3, 2024
1 parent 0aa57ee commit 47a6405
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions vendor/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit 47a6405

Please sign in to comment.