cmake: Require at least cmocka 1.1.0
authorAndreas Schneider <asn@samba.org>
Thu, 17 Oct 2019 13:49:48 +0000 (15:49 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Sun, 20 Oct 2019 12:59:54 +0000 (14:59 +0200)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
CMakeLists.txt

index 18abd22293ba58cb4ffca2e88701a3d720cbb4d2..9d858bd7ba0a8462d6f737556db6c47c37c79041 100644 (file)
@@ -81,7 +81,7 @@ install(
 
 add_subdirectory(doc)
 if (UNIT_TESTING)
-    find_package(cmocka REQUIRED)
+    find_package(cmocka 1.1.0 REQUIRED)
     include(AddCMockaTest)
     add_subdirectory(tests)
 endif (UNIT_TESTING)