From fc1a8cd9450b15987fc7b36494d19cd9e1800b56 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Thu, 25 Jan 2024 10:39:58 -0600 Subject: [PATCH] fixing linker with ssl --- CMakeLists.txt | 2 ++ shell.nix | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index fe5caf6..fb57ce4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -99,6 +99,8 @@ target_link_libraries(${APP_NAME}_lib INTERFACE KF5::Archive KF5::CoreAddons mpv + ssl + crypto ) # Link to the Rust library diff --git a/shell.nix b/shell.nix index 5e40003..4c3ee28 100644 --- a/shell.nix +++ b/shell.nix @@ -19,6 +19,8 @@ mkShell rec { libsForQt5.wrapQtAppsHook makeWrapper + openssl.dev + openssl.out clang-tools clang @@ -68,7 +70,6 @@ mkShell rec { LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib"; CMAKE_C_COMPILER = "${gcc}/bin/gcc"; CMAKE_CXX_COMPILER = "${gcc}/bin/g++"; - CARGO_PROFILE_RELEASE_BUILD_OVERRIDE_DEBUG = true; # QT_SCALE_FACTOR = 1; # QT_PLUGIN_PATH="${QT_PLUGIN_PATH/':''/nix/store/85jx8w2nh1ln4kb0hf3dc6ky0dh6ri24-lightly-qt-0.4.1/lib/qt-5.15.9/plugins'':'/':'}"