Commit 38f3fcf2 authored by Andre Heinecke's avatar Andre Heinecke
Browse files

Include Assuan2 directly in Source

Even the very common classes like Input/Output already use
kleo-assuan so we basically need to include the directory for
assuan.h globally.

Before removing the direct dependency to gpgme this was shadowed
by the common case that assuan and gpgme shared the same include
directory.
parent 33797271
......@@ -41,6 +41,7 @@ set(_kleopatra_uiserver_SRCS
if(ASSUAN2_FOUND)
set(_kleopatra_uiserver_extra_libs ${ASSUAN2_LIBRARIES})
include_directories(${ASSUAN2_INCLUDES})
else()
if(WIN32)
set(_kleopatra_uiserver_extra_libs ${ASSUAN_VANILLA_LIBRARIES})
......
if(ASSUAN2_FOUND)
include_directories(${ASSUAN2_INCLUDES})
else()
include_directories(${ASSUAN_INCLUDES})
endif()
add_definitions(
-D_ASSUAN_ONLY_GPG_ERRORS
-DQT_NO_CAST_FROM_ASCII -DQT_NO_KEYWORDS -DQT_NO_CAST_TO_ASCII
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment