mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-09 07:22:21 +08:00
Only require Qt5 when building the GUI
Commit 6c888437 made Qt5 mandatory for all builds when it is only
required for the GUI. There's already a find_package call in src/gui,
it just needed the REQUIRED flag to be added.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
cmake_minimum_required (VERSION 3.4)
|
||||
|
||||
find_package (Qt5 COMPONENTS Core Widgets Network)
|
||||
find_package (Qt5 REQUIRED COMPONENTS Core Widgets Network)
|
||||
set (CMAKE_AUTOMOC ON)
|
||||
set (CMAKE_AUTORCC ON)
|
||||
set (CMAKE_AUTOUIC ON)
|
||||
|
||||
Reference in New Issue
Block a user