mirror of
https://github.com/ladislav-zezula/StormLib.git
synced 2026-01-16 05:10:32 +01:00
Link tests with ALSA target properly
This commit is contained in:
@@ -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)
|
||||
add_test(NAME StormLib_test COMMAND StormLib_test)
|
||||
|
||||
Reference in New Issue
Block a user