Page MenuHomePhorge

D158.1732499655.diff
No OneTemporary

Size
987 B
Referenced Files
None
Subscribers
None

D158.1732499655.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
Sun, Nov 24, 5:54 PM (11 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39543
Default Alt Text
D158.1732499655.diff (987 B)

Event Timeline