peerplays_migrated/libraries/sha3/CMakeLists.txt

17 lines
323 B
CMake
Raw Normal View History

2022-08-17 04:48:59 +00:00
file(GLOB HEADERS "include/sha3/*.h")
add_library( sha3
2022-08-23 00:59:03 +00:00
memzero.c
sha3.c
2022-08-17 04:48:59 +00:00
)
target_include_directories( sha3 PUBLIC ${CMAKE_CURRENT_LIST_DIR}/include )
target_compile_definitions( sha3 PUBLIC USE_KECCAK=1 )
install( TARGETS
2022-08-23 00:59:03 +00:00
sha3
2022-08-17 04:48:59 +00:00
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib
)