Change order of cmake directives to fix warning from cmake

This commit is contained in:
Kovid Goyal 2023-10-15 20:31:17 +05:30
parent 5cd0bdc115
commit 5a7e02afb4
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -1,5 +1,5 @@
project(headless)
cmake_minimum_required(VERSION 3.21)
project(headless)
set(CMAKE_AUTOMOC ON)
find_package(Qt6Gui REQUIRED)
add_library(headless MODULE main.cpp headless_backingstore.cpp headless_integration.cpp)