mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-04-07 16:21:18 +00:00
Fix tests without libsndfile. Not pretty, welcome a better solution!
This commit is contained in:
parent
073da2141c
commit
7987446fdf
1 changed files with 21 additions and 11 deletions
|
@ -16,14 +16,24 @@ if ( LIBSNDFILE_HASVORBIS )
|
|||
endif ( LIBSNDFILE_HASVORBIS )
|
||||
|
||||
|
||||
add_custom_target(check
|
||||
COMMAND ${CMAKE_CTEST_COMMAND} -C $<CONFIG> --output-on-failure
|
||||
DEPENDS
|
||||
test_sample_cache
|
||||
test_sfont_loading
|
||||
test_defsfont_preset_iteration
|
||||
test_sample_rate_change
|
||||
|
||||
test_sf3_sfont_loading
|
||||
test_sf3_defsfont_preset_iteration
|
||||
)
|
||||
if ( LIBSNDFILE_HASVORBIS )
|
||||
add_custom_target(check
|
||||
COMMAND ${CMAKE_CTEST_COMMAND} -C $<CONFIG> --output-on-failure
|
||||
DEPENDS
|
||||
test_sample_cache
|
||||
test_sfont_loading
|
||||
test_defsfont_preset_iteration
|
||||
test_sample_rate_change
|
||||
test_sf3_sfont_loading
|
||||
test_sf3_defsfont_preset_iteration
|
||||
)
|
||||
else ( LIBSNDFILE_HASVORBIS )
|
||||
add_custom_target(check
|
||||
COMMAND ${CMAKE_CTEST_COMMAND} -C $<CONFIG> --output-on-failure
|
||||
DEPENDS
|
||||
test_sample_cache
|
||||
test_sfont_loading
|
||||
test_defsfont_preset_iteration
|
||||
test_sample_rate_change
|
||||
)
|
||||
endif ( LIBSNDFILE_HASVORBIS )
|
||||
|
|
Loading…
Reference in a new issue