Skip to content

Instantly share code, notes, and snippets.

View camilasan's full-sized avatar

Camila Ayres camilasan

View GitHub Profile
@camilasan
camilasan / install-nc-handler.reg
Last active April 26, 2024 11:33
Install nc:// handler
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\nc\shell\open\command]
@="\"C:\\Program Files\\Nextcloud\\nextcloud.exe\" \"%1\""
on cmake:
find_package(OpenSSL 1.1 REQUIRED)
include_directories(${OPENSSL_INCLUDE_DIR})
list(APPEND openssling_LIBRARIES ${OPENSSL_LIBRARIES})
target_link_libraries(${PROJECT_NAME} Qt5::Core Qt5::Network ${OPENSSL_LIBRARIES} ${QTKEYCHAIN_LIBRARY})
on the cpp:
#include <openssl/conf.h>