Page MenuHomePhorge

D158.1726791431.diff
No OneTemporary

D158.1726791431.diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -91,6 +91,7 @@
endif()
find_package(Olm REQUIRED)
+find_package(vodozemac REQUIRED)
if(libkazv_BUILD_EXAMPLES)
find_package(PkgConfig REQUIRED)
diff --git a/cmake/Findvodozemac.cmake b/cmake/Findvodozemac.cmake
new file mode 100644
--- /dev/null
+++ b/cmake/Findvodozemac.cmake
@@ -0,0 +1,22 @@
+find_path(vodozemac_INCLUDE_DIR
+ NAMES vodozemac.h
+)
+find_library(vodozemac_LIBRARY
+ NAMES vodozemac
+)
+
+include(FindPackageHandleStandardArgs)
+find_package_handle_standard_args(vodozemac
+ FOUND_VAR vodozemac_FOUND
+ REQUIRED_VARS
+ vodozemac_LIBRARY
+ vodozemac_INCLUDE_DIR
+)
+
+if(vodozemac_FOUND AND NOT TARGET vodozemac::vodozemac)
+ add_library(vodozemac::vodozemac UNKNOWN IMPORTED)
+ set_target_properties(vodozemac::vodozemac PROPERTIES
+ IMPORTED_LOCATION "${vodozemac_LIBRARY}"
+ INTERFACE_INCLUDE_DIRECTORIES "${vodozemac_INCLUDE_DIR}"
+ )
+endif()

File Metadata

Mime Type
text/plain
Expires
Thu, Sep 19, 5:17 PM (8 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15949
Default Alt Text
D158.1726791431.diff (987 B)

Event Timeline