Replace kdemacros.h with tdemacros.h

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/9/head
Michele Calgaro 5 months ago
parent 10ec684b00
commit a36fcab753
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -33,11 +33,3 @@ if( NOT EXIV2_FOUND )
endif( NOT EXIV2_FOUND )
check_include_file_cxx( "exiv2/exiv2.hpp" HAVE_EXIV2_HPP )
##### 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 )

@ -9,6 +9,3 @@
/* Defined if you have <exiv2/exiv2.hpp> header */
#cmakedefine HAVE_EXIV2_HPP 1
/* Defined if you have <kdemacros.h> header */
#cmakedefine KDEMACROS_USABLE 1

@ -23,15 +23,9 @@
#ifndef _LIBKEXIV2_EXPORT_H
#define _LIBKEXIV2_EXPORT_H
#ifdef KDEMACROS_USABLE
#include <kdemacros.h>
#endif
#include <tdemacros.h>
#ifdef TDE_EXPORT
#define LIBKEXIV2_EXPORT TDE_EXPORT
#else
#define LIBKEXIV2_EXPORT
#endif
#endif /* _LIBKEXIV2_EXPORT_H */

Loading…
Cancel
Save