Make NeoChat compile against libQuotient master and 0.6
Requires a few ugly ifdefs, but it will make developing against the master branch of libQuotient easier
This commit is contained in:
@@ -31,6 +31,10 @@ add_executable(neochat
|
||||
../res.qrc
|
||||
)
|
||||
|
||||
if(${Quotient_VERSION_MINOR} GREATER 6)
|
||||
target_compile_definitions(neochat PRIVATE QUOTIENT_07)
|
||||
endif()
|
||||
|
||||
ecm_add_app_icon(NEOCHAT_ICON ICONS ${CMAKE_SOURCE_DIR}/128-logo.png)
|
||||
|
||||
target_sources(neochat PRIVATE ${NEOCHAT_ICON})
|
||||
|
||||
Reference in New Issue
Block a user