diff --git a/.gitignore b/.gitignore --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ doc-gen/ -src/config.h diff --git a/CMakeLists.txt b/CMakeLists.txt --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -80,7 +80,7 @@ endif() configure_file("${CMAKE_CURRENT_SOURCE_DIR}/src/config.h.in" - "${CMAKE_CURRENT_SOURCE_DIR}/src/config.h") + "${CMAKE_CURRENT_BINARY_DIR}/src/config.h") # create a Config.cmake and a ConfigVersion.cmake file and install them set(CMAKECONFIG_INSTALL_DIR "${KDE_INSTALL_CMAKEPACKAGEDIR}/KF5I18n")