Browse Source

Audio: make the tests compile even if SceneGraph is not enabled.

pull/280/head
Vladimír Vondruš 8 years ago
parent
commit
b98dcf76aa
  1. 2
      src/Magnum/Audio/Test/CMakeLists.txt

2
src/Magnum/Audio/Test/CMakeLists.txt

@ -66,10 +66,10 @@ if(BUILD_AL_TESTS)
if(WITH_SCENEGRAPH)
corrade_add_test(AudioListenerALTest ListenerALTest.cpp LIBRARIES MagnumSceneGraph MagnumAudio)
corrade_add_test(AudioPlayableALTest PlayableALTest.cpp LIBRARIES MagnumSceneGraph MagnumAudio)
endif()
set_target_properties(
AudioListenerALTest
AudioPlayableALTest
PROPERTIES FOLDER "Magnum/Audio/Test")
endif()
endif()

Loading…
Cancel
Save