summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-07-01 19:19:39 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-07-01 23:13:29 +0900
commita36fcab753412a9cbb9c514074ffd9b21cdf4750 (patch)
tree6d2e082a6d1169c11c5b044eede093e67dd693b0
parent10ec684b006f0833aa73c7b5476c240deea8238c (diff)
downloadlibkexiv2-a36fcab753412a9cbb9c514074ffd9b21cdf4750.tar.gz
libkexiv2-a36fcab753412a9cbb9c514074ffd9b21cdf4750.zip
Replace kdemacros.h with tdemacros.h
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--ConfigureChecks.cmake8
-rw-r--r--config.h.cmake3
-rw-r--r--libkexiv2/libkexiv2/libkexiv2_export.h8
3 files changed, 1 insertions, 18 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index b582576..31f7d55 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -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 )
diff --git a/config.h.cmake b/config.h.cmake
index 1b91529..36a35f6 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -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
diff --git a/libkexiv2/libkexiv2/libkexiv2_export.h b/libkexiv2/libkexiv2/libkexiv2_export.h
index 11b5735..877bdd0 100644
--- a/libkexiv2/libkexiv2/libkexiv2_export.h
+++ b/libkexiv2/libkexiv2/libkexiv2_export.h
@@ -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 */