From 0e3c1572c1a8e4e16d2408e5c19f87f5db6af31e Mon Sep 17 00:00:00 2001 From: Sude Date: Fri, 15 Nov 2024 19:32:22 +0200 Subject: [PATCH] CMake: Use config mode for finding Boost packages --- CMakeLists.txt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0238ae0..892eebd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,10 +3,6 @@ project (lgogdownloader LANGUAGES C CXX VERSION 3.15) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/") -# Disable search for boost-cmake -# Fixes building with Boost >= 1.70.0 -set(Boost_NO_BOOST_CMAKE ON) - option(USE_QT_GUI "Build with Qt GUI login support" OFF) if(USE_QT_GUI) add_definitions(-DUSE_QT_GUI_LOGIN=1) @@ -15,6 +11,7 @@ if(USE_QT_GUI) endif(USE_QT_GUI) find_package(Boost + CONFIG REQUIRED system filesystem