build: enable SHA256 support
authorJo-Philipp Wich <jo@mein.io>
Fri, 17 Feb 2017 17:28:19 +0000 (18:28 +0100)
committerJo-Philipp Wich <jo@mein.io>
Fri, 17 Feb 2017 17:28:19 +0000 (18:28 +0100)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
CMakeLists.txt

index 34a0a6f996d609eb0bc51e11e9196dcfe4fa6612..b99b58e871d888e48229ea457afeda09489492ac 100644 (file)
@@ -33,6 +33,7 @@ ADD_DEFINITIONS(-Os -Wall --std=gnu99 -g3 -Wmissing-declarations
        -DHOST_CPU_STR="${HOST_CPU}"
        -DBUILD_CPU=${BUILD_CPU}
        -DVERSION="${GIT_VERSION}"
+       -DHAVE_SHA256
 )
 
 ADD_SUBDIRECTORY(libbb)