From 81e81d04e4357c0f5b19c304e1c4e7ff6e5e9af9 Mon Sep 17 00:00:00 2001 From: Emil Axelsson Date: Sun, 5 Nov 2017 20:04:01 +0100 Subject: [PATCH] Force Cmake flags for Libtorrent --- apps/Launcher/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/Launcher/CMakeLists.txt b/apps/Launcher/CMakeLists.txt index ce0a9ca48c..a103345d17 100644 --- a/apps/Launcher/CMakeLists.txt +++ b/apps/Launcher/CMakeLists.txt @@ -67,8 +67,8 @@ target_link_libraries( ##### set(Boost_USE_STATIC_LIBS ON) set(Boost_USE_MULTITHREADED ON) -SET(LIBTORRENT_encryption OFF) -SET(LIBTORRENT_shared OFF) +SET(LIBTORRENT_encryption OFF CACHE BOOL "Use OpenSSL Encryption" FORCE) +SET(LIBTORRENT_shared OFF CACHE BOOL "Use Libtorrent as shared library" FORCE) include_external_library( Launcher