CMake Cleanup

This commit is contained in:
Tobias Fella
2020-12-25 17:59:50 +01:00
parent 8aec6b67cb
commit 6351454759
2 changed files with 3 additions and 6 deletions

View File

@@ -20,7 +20,9 @@ include(KDEClangFormat)
include(KDECMakeSettings)
include(KDECompilerSettings NO_POLICY_SCOPE)
include(cmake/Flatpak.cmake)
if(NEOCHAT_FLATPAK)
include(cmake/Flatpak.cmake)
endif()
# Fix a crash due to problems with quotient's event system. Can probably be removed once the reworked event system is in
cmake_policy(SET CMP0063 OLD)

View File

@@ -1,8 +1,3 @@
if(NOT NEOCHAT_FLATPAK)
# Only include this if we build a Flatpak
return()
endif()
include(GNUInstallDirs)
# Include FontConfig config which uses the Emoji One font from the