Fix to detect gnokii header file

It is used as the build condition in kaddressbook.

Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit dea6d6ca6a)
r14.0.x
OBATA Akio 3 years ago committed by Slávek Banko
parent 592f8bf198
commit d94ac462c9
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -59,6 +59,10 @@ if( WITH_GNOKII AND (BUILD_KADDRESSBOOK OR BUILD_KMOBILE) )
pkg_search_module( GNOKII gnokii )
if( NOT GNOKII_FOUND )
tde_message_fatal( "gnokii are requested, but was not found on your system" )
else( )
tde_save_and_set( CMAKE_REQUIRED_INCLUDES "${GNOKII_INCLUDE_DIRS}" )
check_include_file( "gnokii.h" HAVE_GNOKII_H )
tde_restore( CMAKE_REQUIRED_INCLUDES )
endif( )
endif( )

@ -43,6 +43,7 @@
#cmakedefine STD_NAMESPACE_PREFIX @STD_NAMESPACE_PREFIX@
// kaddressbook
#cmakedefine HAVE_GNOKII_H 1
#cmakedefine TDEPIM_NEW_DISTRLISTS 1
// karm

Loading…
Cancel
Save