Fix a crash when opening rooms with quotient from package managers
Some problem with static initialisation in quotient causes the event system to fail in some situations. We can work around this by setting cmake policy 0063 to OLD. Fixes #4 See also https://github.com/quotient-im/libQuotient/issues/413
This commit is contained in:
@@ -19,6 +19,9 @@ include(KDEClangFormat)
|
||||
include(KDECMakeSettings)
|
||||
include(KDECompilerSettings NO_POLICY_SCOPE)
|
||||
|
||||
# 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)
|
||||
|
||||
ecm_setup_version(0.1.0
|
||||
VARIABLE_PREFIX NEOCHAT
|
||||
VERSION_HEADER ${CMAKE_CURRENT_BINARY_DIR}/neochat-version.h
|
||||
|
||||
Reference in New Issue
Block a user