1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
Description: Use md5 implementation from system libbsd
Forwarded: not-needed
Author: Christopher James Halse Rogers <raof@ubuntu.com>
--- a/lib/image/CMakeLists.txt
+++ b/lib/image/CMakeLists.txt
@@ -8,6 +8,6 @@ add_library (image STATIC
)
target_link_libraries (image
- md5
+ bsd
PNG::PNG
)
--- a/lib/image/image_md5.cpp
+++ b/lib/image/image_md5.cpp
@@ -28,7 +28,7 @@
#include <fstream>
#include "image.hpp"
-#include "md5.h"
+#include <bsd/md5.h>
using namespace std;
--- a/thirdparty/CMakeLists.txt
+++ b/thirdparty/CMakeLists.txt
@@ -75,4 +75,3 @@ if (WIN32)
endif ()
add_subdirectory (crc32c)
-add_subdirectory (md5)
|