build: add fmtlib as a dependency
This commit is contained in:
parent
220072fd6d
commit
b3e14f949e
@ -2,6 +2,8 @@
|
|||||||
cmake_minimum_required(VERSION 3.7.0)
|
cmake_minimum_required(VERSION 3.7.0)
|
||||||
project(cruft-crypto CXX)
|
project(cruft-crypto CXX)
|
||||||
|
|
||||||
|
find_package (fmt REQUIRED)
|
||||||
|
|
||||||
|
|
||||||
list (APPEND components
|
list (APPEND components
|
||||||
hash/blake
|
hash/blake
|
||||||
@ -62,7 +64,7 @@ endif ()
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
add_library (cruft-crypto STATIC ${sources})
|
add_library (cruft-crypto STATIC ${sources})
|
||||||
target_link_libraries (cruft-crypto INTERFACE cruft)
|
target_link_libraries (cruft-crypto INTERFACE cruft PRIVATE fmt::fmt)
|
||||||
|
|
||||||
|
|
||||||
##-----------------------------------------------------------------------------
|
##-----------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user