diff options
| author | Andreas Schneider <asn@samba.org> | 2014-05-22 08:49:07 +0200 |
|---|---|---|
| committer | Michael Adam <obnox@samba.org> | 2014-05-22 15:02:25 +0200 |
| commit | 71cc17ad79e186717c5e565369b860c0cc2f2d77 (patch) | |
| tree | 0c4fe887a82c39a5b98d58535db2d4a263d5eba9 /CMakeLists.txt | |
| parent | 916a02d1f155c98f689e5ebb545331dc0f48ac2a (diff) | |
| download | socket_wrapper-71cc17ad79e186717c5e565369b860c0cc2f2d77.tar.gz socket_wrapper-71cc17ad79e186717c5e565369b860c0cc2f2d77.tar.xz socket_wrapper-71cc17ad79e186717c5e565369b860c0cc2f2d77.zip | |
cmake: Require cmocka versin 0.4.1.
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 33c2245..8e346e6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -51,9 +51,10 @@ configure_file(config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h) add_subdirectory(src) if (UNIT_TESTING) - find_package(CMocka REQUIRED) - include(AddCMockaTest) - add_subdirectory(tests) + find_package(cmocka 0.4.1 REQUIRED) + + include(AddCMockaTest) + add_subdirectory(tests) endif (UNIT_TESTING) # pkg-config file |
