Replace kdemacros.h with tdemacros.h

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit af6b470293)
r14.1.x
Michele Calgaro 5 months ago
parent a53baecb86
commit eb6e700a95
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -23,11 +23,3 @@ tde_setup_largefiles( )
if( WITH_GCC_VISIBILITY ) if( WITH_GCC_VISIBILITY )
tde_setup_gcc_visibility( ) tde_setup_gcc_visibility( )
endif( WITH_GCC_VISIBILITY ) endif( WITH_GCC_VISIBILITY )
##### check for <kdemacros.h> header
tde_save( CMAKE_REQUIRED_INCLUDES )
list( APPEND CMAKE_REQUIRED_INCLUDES "${TDE_INCLUDE_DIR}" )
check_include_file( "kdemacros.h" KDEMACROS_USABLE )
tde_restore( CMAKE_REQUIRED_INCLUDES )

@ -21,17 +21,9 @@
#ifndef _LIBKIPI_EXPORT_H #ifndef _LIBKIPI_EXPORT_H
#define _LIBKIPI_EXPORT_H #define _LIBKIPI_EXPORT_H
#cmakedefine KDEMACROS_USABLE @KDEMACROS_USABLE@ #include <tdemacros.h>
#ifdef KDEMACROS_USABLE
#include <kdemacros.h>
#endif
#ifdef TDE_EXPORT
#define LIBKIPI_EXPORT TDE_EXPORT #define LIBKIPI_EXPORT TDE_EXPORT
#else
#define LIBKIPI_EXPORT
#endif
#endif /* _LIBKIPI_EXPORT_H */ #endif /* _LIBKIPI_EXPORT_H */

Loading…
Cancel
Save