mirror of
https://github.com/Sude-/lgogdownloader.git
synced 2024-11-20 03:39:17 +01:00
CMake: Use config mode for finding Boost packages
This commit is contained in:
parent
d83ba7ff30
commit
0e3c1572c1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user