From 76cc3f092a7427e20f5e791a901a7351f3725b2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sat, 8 Apr 2017 14:27:41 +0200 Subject: [PATCH] Audio: use new-style file embedding for tests. --- src/Magnum/Audio/Test/CMakeLists.txt | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/Magnum/Audio/Test/CMakeLists.txt b/src/Magnum/Audio/Test/CMakeLists.txt index 183f3f312..53d4accf5 100644 --- a/src/Magnum/Audio/Test/CMakeLists.txt +++ b/src/Magnum/Audio/Test/CMakeLists.txt @@ -33,7 +33,9 @@ endif() configure_file(${CMAKE_CURRENT_SOURCE_DIR}/configure.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/configure.h) -corrade_add_test(AudioAbstractImporterTest AbstractImporterTest.cpp LIBRARIES MagnumAudio) +corrade_add_test(AudioAbstractImporterTest AbstractImporterTest.cpp + LIBRARIES MagnumAudio + FILES file.bin) target_include_directories(AudioAbstractImporterTest PRIVATE ${CMAKE_CURRENT_BINARY_DIR}) corrade_add_test(AudioBufferTest BufferTest.cpp LIBRARIES MagnumAudio) corrade_add_test(AudioContextTest ContextTest.cpp LIBRARIES MagnumAudio) @@ -51,7 +53,3 @@ if(BUILD_AL_TESTS) corrade_add_test(AudioPlayableALTest PlayableALTest.cpp LIBRARIES MagnumSceneGraph MagnumAudio) endif() endif() - -if(CORRADE_TARGET_EMSCRIPTEN) - emscripten_embed_file(AudioAbstractImporterTest file.bin "/file.bin") -endif()