diff options
| author | Dmitry Marakasov <474217+AMDmi3@users.noreply.github.com> | 2025-11-24 17:45:20 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-24 17:45:20 +0300 |
| commit | c8236ddd2bc3f40b37fb4f2f189e7a4196136065 (patch) | |
| tree | 0a64b3288e84255514a5411dc49f391c2d9b2700 /test | |
| parent | 6a18fa77feb62ceca1200e5d84611ab1fc98063f (diff) | |
Link tests with ALSA target properly
Diffstat (limited to 'test')
| -rw-r--r-- | test/CMakeLists.txt | 4 |
1 files 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) |
