summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-06-30 19:10:09 +0900
committerMichele Calgaro <[email protected]>2024-06-30 19:10:09 +0900
commitd4b1fc527531aafd7482f46ef59d6eb3da3d2b23 (patch)
treea67131446f62265b414562ba422daacacc0f4c73
parent6cf464b091b0127a7f69aae31e504fcb405c676b (diff)
downloadtde-cmake-d4b1fc527531aafd7482f46ef59d6eb3da3d2b23.tar.gz
tde-cmake-d4b1fc527531aafd7482f46ef59d6eb3da3d2b23.zip
Rename kdemacros.h to tdemacros.h
Signed-off-by: Michele Calgaro <[email protected]>
-rw-r--r--modules/TDEMacros.cmake2
-rw-r--r--templates/tde_tdeinit_module.cmake2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/TDEMacros.cmake b/modules/TDEMacros.cmake
index edbd124..1639db5 100644
--- a/modules/TDEMacros.cmake
+++ b/modules/TDEMacros.cmake
@@ -2956,7 +2956,7 @@ macro( tde_setup_gcc_visibility )
endif( TQT_FOUND AND NOT DEFINED HAVE_TQT_VISIBILITY )
if( TDE_FOUND AND NOT DEFINED HAVE_TDE_VISIBILITY )
- find_file( TDEMACROS_H kdemacros.h HINTS "${TDE_INCLUDE_DIR}" )
+ find_file( TDEMACROS_H tdemacros.h HINTS "${TDE_INCLUDE_DIR}" )
if( NOT "${TDEMACROS_H}" STREQUAL "TDEMACROS_H-NOTFOUND" )
tde_save_and_set( CMAKE_REQUIRED_INCLUDES "${TDE_INCLUDE_DIR}" )
check_cxx_source_compiles( "
diff --git a/templates/tde_tdeinit_module.cmake b/templates/tde_tdeinit_module.cmake
index 717ba3c..65be7fc 100644
--- a/templates/tde_tdeinit_module.cmake
+++ b/templates/tde_tdeinit_module.cmake
@@ -1,3 +1,3 @@
-#include <kdemacros.h>
+#include <tdemacros.h>
extern "C" int kdemain(int argc, char* argv[]);
extern "C" TDE_EXPORT int tdeinitmain(int argc, char* argv[]) { return kdemain(argc,argv); }