diff --git a/cmake_admin/FluidUnitTest.cmake b/cmake_admin/FluidUnitTest.cmake index 26afcca3..4ffbdeea 100644 --- a/cmake_admin/FluidUnitTest.cmake +++ b/cmake_admin/FluidUnitTest.cmake @@ -3,7 +3,10 @@ macro ( ADD_FLUID_TEST _test ) TARGET_LINK_LIBRARIES(${_test} libfluidsynth) # use the local include path to look for fluidsynth.h, as we cannot be sure fluidsynth is already installed - target_include_directories(${_test} PUBLIC $) + target_include_directories(${_test} + PUBLIC + $ + $) ADD_TEST(NAME ${_test} COMMAND ${_test}) endmacro ( ADD_FLUID_TEST ) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 82f475b4..b8aecdca 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -5,8 +5,8 @@ ENABLE_TESTING() include ( FluidUnitTest ) -ADD_FLUID_TEST(test_sfont_cache) +ADD_FLUID_TEST(test_sample_cache) # make test only runs tests, but doesnt build them -add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND} DEPENDS test_sfont_cache) +add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND} DEPENDS test_sample_cache)