94b2861243
Former-commit-id: 5f9c6ae75f295e057a7d2971f3a6df4656fa8850
24 lines
328 B
CMake
24 lines
328 B
CMake
include_directories(../../include)
|
|
|
|
add_library(
|
|
ripemd_decrepit
|
|
|
|
OBJECT
|
|
|
|
ripemd.c
|
|
)
|
|
|
|
if(ENABLE_TESTS)
|
|
add_executable(
|
|
ripemd_test
|
|
|
|
ripemd_test.cc
|
|
|
|
$<TARGET_OBJECTS:test_support>
|
|
)
|
|
|
|
target_link_libraries(ripemd_test crypto)
|
|
target_link_libraries(ripemd_test decrepit)
|
|
add_dependencies(all_tests ripemd_test)
|
|
endif()
|