From: Stephen Sinclair Date: Wed, 8 Aug 2018 14:30:51 +0000 (-0400) Subject: Merge remote-tracking branch 'upstream/pr/136' X-Git-Url: https://git.carlh.net/gitweb/?a=commitdiff_plain;h=f4061fcddede498baf9c7315c3922eb60b23bb40;p=rtaudio-cdist.git Merge remote-tracking branch 'upstream/pr/136' --- f4061fcddede498baf9c7315c3922eb60b23bb40 diff --cc tests/CMakeLists.txt index 5c08f6d,f611d51..0040065 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@@ -3,25 -3,26 +3,28 @@@ if (WIN32 include_directories(../include) endif (WIN32) +list(GET LIB_TARGETS 0 LIBRTAUDIO) + add_executable(audioprobe audioprobe.cpp) -target_link_libraries(audioprobe rtaudio_static ${LINKLIBS}) +target_link_libraries(audioprobe ${LIBRTAUDIO} ${LINKLIBS}) add_executable(playsaw playsaw.cpp) -target_link_libraries(playsaw rtaudio_static ${LINKLIBS}) +target_link_libraries(playsaw ${LIBRTAUDIO} ${LINKLIBS}) add_executable(playraw playraw.cpp) -target_link_libraries(playraw rtaudio_static ${LINKLIBS}) +target_link_libraries(playraw ${LIBRTAUDIO} ${LINKLIBS}) add_executable(record record.cpp) -target_link_libraries(record rtaudio_static ${LINKLIBS}) +target_link_libraries(record ${LIBRTAUDIO} ${LINKLIBS}) add_executable(duplex duplex.cpp) -target_link_libraries(duplex rtaudio_static ${LINKLIBS}) +target_link_libraries(duplex ${LIBRTAUDIO} ${LINKLIBS}) + add_executable(apinames apinames.cpp) + target_link_libraries(apinames rtaudio_static ${LINKLIBS}) + add_executable(testall testall.cpp) -target_link_libraries(testall rtaudio_static ${LINKLIBS}) +target_link_libraries(testall ${LIBRTAUDIO} ${LINKLIBS}) add_executable(teststops teststops.cpp) -target_link_libraries(teststops rtaudio_static ${LINKLIBS}) +target_link_libraries(teststops ${LIBRTAUDIO} ${LINKLIBS})