diff --git a/CMakeLists.txt b/CMakeLists.txt --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -51,7 +51,7 @@ # we have to hardcode the PYTHON_EXECUTABLE path or anything depending on KF5I18n # would be unable to find another Python version. find_package(PythonInterp REQUIRED) -configure_file(cmake/KF5I18NMacros.cmake.in ${KI18n_BINARY_DIR}/cmake/KF5I18NMacros.cmake @ONLY) +configure_file(cmake/KF5I18nMacros.cmake.in ${KI18n_BINARY_DIR}/cmake/KF5I18nMacros.cmake @ONLY) # Needed to build the ki18n translations and run the autotests file(COPY ${KI18n_SOURCE_DIR}/cmake/build-pofiles.cmake DESTINATION ${KI18n_BINARY_DIR}/cmake) file(COPY ${KI18n_SOURCE_DIR}/cmake/build-tsfiles.cmake DESTINATION ${KI18n_BINARY_DIR}/cmake) @@ -61,7 +61,7 @@ # usually is called using find_package(KF5I18n), # KF5I18NMacros.cmake needs to know the scripts directory set(KF5I18n_DIR ${CMAKE_CURRENT_LIST_DIR}/cmake) -include(${KI18n_BINARY_DIR}/cmake/KF5I18NMacros.cmake) +include(${KI18n_BINARY_DIR}/cmake/KF5I18nMacros.cmake) remove_definitions(-DQT_NO_CAST_FROM_BYTEARRAY) if(MSVC) diff --git a/KF5I18nConfig.cmake.in b/KF5I18nConfig.cmake.in --- a/KF5I18nConfig.cmake.in +++ b/KF5I18nConfig.cmake.in @@ -6,5 +6,5 @@ include("${CMAKE_CURRENT_LIST_DIR}/KF5I18nTargets.cmake") @PACKAGE_INCLUDE_QCHTARGETS@ -include("${CMAKE_CURRENT_LIST_DIR}/KF5I18NMacros.cmake") +include("${CMAKE_CURRENT_LIST_DIR}/KF5I18nMacros.cmake") diff --git a/autotests/ki18n_install/CMakeLists.txt b/autotests/ki18n_install/CMakeLists.txt --- a/autotests/ki18n_install/CMakeLists.txt +++ b/autotests/ki18n_install/CMakeLists.txt @@ -1,6 +1,6 @@ project(ki18n_install) cmake_minimum_required(VERSION 3.0) -include(KF5I18NMacros) +include(KF5I18nMacros) ki18n_install(${CMAKE_CURRENT_SOURCE_DIR}/po) diff --git a/cmake/KF5I18NMacros.cmake.in b/cmake/KF5I18nMacros.cmake.in rename from cmake/KF5I18NMacros.cmake.in rename to cmake/KF5I18nMacros.cmake.in