commit a98d92c059e0bd07cc08c74716b511e4dc3f460c
parent 777ae66999c7504c98db81263b87db43c0219053
Author: nick87720z <nick87720z@gmail.com>
Date: Mon, 28 May 2018 14:07:25 +0500
fix path for save-osc test
Current version doesn't work if buildir not in root of source dir
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Tests/CMakeLists.txt b/src/Tests/CMakeLists.txt
@@ -70,7 +70,7 @@ target_link_libraries(save-osc
zynaddsubfx_gui_bridge
${GUI_LIBRARIES} ${NIO_LIBRARIES} ${AUDIO_LIBRARIES})
#this will be replace with a for loop when the code will get more stable:
-add_test(SaveOsc save-osc ../../../instruments/examples/Arpeggio\ 1.xmz)
+add_test(SaveOsc save-osc ${CMAKE_CURRENT_SOURCE_DIR}/../../instruments/examples/Arpeggio\ 1.xmz)
#message(STATUS "Plugin Test ${GUI_LIBRARIES} ${NIO_LIBRARIES} ${AUDIO_LIBRARIES}")