Link render with sndfile
This commit is contained in:
parent
1e43989919
commit
28afd9937b
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ if (SFIZZ_RENDER)
|
||||||
target_compile_definitions(sfizz-fmidi PUBLIC "FMIDI_STATIC=1" "FMIDI_DISABLE_DESCRIBE_API=1")
|
target_compile_definitions(sfizz-fmidi PUBLIC "FMIDI_STATIC=1" "FMIDI_DISABLE_DESCRIBE_API=1")
|
||||||
|
|
||||||
add_executable(sfizz_render sfizz_render.cpp)
|
add_executable(sfizz_render sfizz_render.cpp)
|
||||||
target_link_libraries(sfizz_render sfizz::sfizz sfizz-fmidi)
|
target_link_libraries(sfizz_render PRIVATE sfizz::sfizz sfizz-fmidi sfizz-sndfile)
|
||||||
sfizz_enable_lto_if_needed (sfizz_render)
|
sfizz_enable_lto_if_needed (sfizz_render)
|
||||||
install (TARGETS sfizz_render DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT "render" OPTIONAL)
|
install (TARGETS sfizz_render DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT "render" OPTIONAL)
|
||||||
endif()
|
endif()
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue