Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nheko
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nheko Reborn
nheko
Commits
683fd757
Verified
Commit
683fd757
authored
2 years ago
by
Nicolas Werner
Browse files
Options
Downloads
Patches
Plain Diff
More granular automoc
parent
3b99e382
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+5
-3
5 additions, 3 deletions
CMakeLists.txt
third_party/SingleApplication-3.3.2/CMakeLists.txt
+1
-2
1 addition, 2 deletions
third_party/SingleApplication-3.3.2/CMakeLists.txt
with
6 additions
and
5 deletions
CMakeLists.txt
+
5
−
3
View file @
683fd757
...
...
@@ -21,7 +21,6 @@ set(
set
(
CMAKE_CXX_STANDARD 20 CACHE STRING
"C++ standard"
)
set
(
CMAKE_CXX_STANDARD_REQUIRED ON CACHE BOOL
"Require C++ standard to be supported"
)
set
(
CMAKE_POSITION_INDEPENDENT_CODE ON CACHE BOOL
"compile as PIC by default"
)
set
(
CMAKE_AUTOMOC ON
)
option
(
HUNTER_ENABLED
"Enable Hunter package manager"
OFF
)
include
(
"cmake/HunterGate.cmake"
)
...
...
@@ -664,6 +663,11 @@ else()
endif
()
endif
()
set_target_properties
(
nheko
PROPERTIES
CMAKE_SKIP_INSTALL_RPATH TRUE
AUTOMOC ON
)
if
(
APPLE
)
target_link_libraries
(
nheko PRIVATE Qt5::MacExtras
)
elseif
(
WIN32
)
...
...
@@ -757,8 +761,6 @@ if(MAN)
add_subdirectory
(
man
)
endif
()
set_target_properties
(
nheko PROPERTIES CMAKE_SKIP_INSTALL_RPATH TRUE
)
if
(
UNIX AND NOT APPLE
)
if
(
FLATPAK
)
set
(
APPID
"io.github.NhekoReborn.Nheko"
)
...
...
This diff is collapsed.
Click to expand it.
third_party/SingleApplication-3.3.2/CMakeLists.txt
+
1
−
2
View file @
683fd757
...
...
@@ -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"
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment