Don't set cmake policy when using libquotient 0.7

This commit is contained in:
Tobias Fella
2022-01-02 22:47:42 +01:00
parent 183c3227a9
commit ca8702fd5e
6 changed files with 16 additions and 5 deletions

View File

@@ -42,7 +42,7 @@ add_executable(neochat
if(Quotient_VERSION_MINOR GREATER 6)
target_compile_definitions(neochat PRIVATE QUOTIENT_07)
else()
target_sources(neochat PRIVATE accountregistry.cpp)
target_sources(neochat PRIVATE neochataccountregistry.cpp)
endif()
ecm_add_app_icon(NEOCHAT_ICON ICONS ${CMAKE_SOURCE_DIR}/128-logo.png)