From c8236ddd2bc3f40b37fb4f2f189e7a4196136065 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov <474217+AMDmi3@users.noreply.github.com> Date: Mon, 24 Nov 2025 17:45:20 +0300 Subject: [PATCH] Link tests with ALSA target properly --- test/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index b646613..80c64c4 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -14,7 +14,7 @@ endif() find_package(ALSA REQUIRED) add_executable(StormLib_test ${TEST_SRC_FILES}) -target_link_libraries(StormLib_test storm ${ALSA_LIBRARIES}) +target_link_libraries(StormLib_test storm ALSA::ALSA) install(TARGETS StormLib_test RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) -add_test(NAME StormLib_test COMMAND StormLib_test) \ No newline at end of file +add_test(NAME StormLib_test COMMAND StormLib_test)