File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -51,4 +51,27 @@ if(NOT BUILD_LIBRARIES_ONLY)
5151 install (FILES $<TARGET_PDB_FILE :nextcloudcmd > DESTINATION bin OPTIONAL )
5252 endif ()
5353 endif ()
54+
55+ add_executable (nextcloud-e2ee-verify
56+ e2ee_verify_metadata.cpp )
57+ ecm_mark_nongui_executable (nextcloud-e2ee-verify )
58+
59+ target_link_libraries (nextcloud-e2ee-verify
60+ Qt::Core
61+ Qt::Network
62+ OpenSSL::Crypto
63+ ZLIB::ZLIB )
64+
65+ target_compile_definitions (nextcloud-e2ee-verify PRIVATE OPENSSL_SUPPRESS_DEPRECATED )
66+
67+ if (BUILD_OWNCLOUD_OSX_BUNDLE)
68+ set_target_properties (nextcloud-e2ee-verify PROPERTIES
69+ RUNTIME_OUTPUT_DIRECTORY "${BIN_OUTPUT_DIRECTORY} /${OWNCLOUD_OSX_BUNDLE} /Contents/MacOS" )
70+ else ()
71+ set_target_properties (nextcloud-e2ee-verify PROPERTIES
72+ RUNTIME_OUTPUT_DIRECTORY ${BIN_OUTPUT_DIRECTORY} )
73+
74+ install (TARGETS nextcloud-e2ee-verify
75+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} )
76+ endif ()
5477endif ()
You can’t perform that action at this time.
0 commit comments