diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-09-23 15:13:59 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-09-23 15:47:25 +0200 |
commit | 683fd757007ade08aebe9c81e089f121d7ec3ec2 (patch) | |
tree | b9cc2cf5518dee265370fe78d6632333e228a674 /third_party | |
parent | Translated using Weblate (Russian) (diff) | |
download | nheko-683fd757007ade08aebe9c81e089f121d7ec3ec2.tar.xz |
More granular automoc
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/SingleApplication-3.3.2/CMakeLists.txt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/third_party/SingleApplication-3.3.2/CMakeLists.txt b/third_party/SingleApplication-3.3.2/CMakeLists.txt index ae1b1439..0dc8d3e1 100644 --- a/third_party/SingleApplication-3.3.2/CMakeLists.txt +++ b/third_party/SingleApplication-3.3.2/CMakeLists.txt @@ -2,13 +2,12 @@ cmake_minimum_required(VERSION 3.7.0) project(SingleApplication LANGUAGES CXX) -set(CMAKE_AUTOMOC ON) - add_library(${PROJECT_NAME} STATIC singleapplication.cpp singleapplication_p.cpp ) add_library(${PROJECT_NAME}::${PROJECT_NAME} ALIAS ${PROJECT_NAME}) +set_target_properties(${PROJECT_NAME} PROPERTIES AUTOMOC ON) if(NOT QT_DEFAULT_MAJOR_VERSION) set(QT_DEFAULT_MAJOR_VERSION 5 CACHE STRING "Qt version to use (5 or 6), defaults to 5") |