summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorLadislav Zezula <zezula@volny.cz>2024-03-07 17:46:27 +0100
committerLadislav Zezula <zezula@volny.cz>2024-03-07 17:46:27 +0100
commitdbe502676f27ac8510a52ff7b3ab8e03e81179fe (patch)
treedf23ed9d3cd804ab40e6c9c20c3698b3938dc834 /CMakeLists.txt
parent98aff2cdec461c77688ef4e954e492e6c04ae34e (diff)
+ Fixed regression tests
+ Refactored udage of UNICODE characters + Fixed regression tests on Linux
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c480d40..d99ba20 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -64,6 +64,7 @@ set(TOMCRYPT_FILES
src/libtomcrypt/src/hashes/hash_memory.c
src/libtomcrypt/src/hashes/md5.c
src/libtomcrypt/src/hashes/sha1.c
+ src/libtomcrypt/src/hashes/sha256.c
src/libtomcrypt/src/math/ltm_desc.c
src/libtomcrypt/src/math/multi.c
src/libtomcrypt/src/math/rand_prime.c
@@ -393,8 +394,9 @@ if (NOT STORM_SKIP_INSTALL)
endif()
if(STORM_BUILD_TESTS)
+ find_package(ALSA REQUIRED)
add_executable(StormLib_test ${TEST_SRC_FILES})
- target_link_libraries(StormLib_test ${LIBRARY_NAME})
+ target_link_libraries(StormLib_test ${LIBRARY_NAME} ${ALSA_LIBRARIES})
install(TARGETS StormLib_test RUNTIME DESTINATION bin)
endif()