diff --git a/.gitignore b/.gitignore index 32a65f66..f87c5e27 100644 --- a/.gitignore +++ b/.gitignore @@ -65,3 +65,7 @@ m4/lt~obsolete.m4 ipch test_path.hpp *.opensdf +CMakeCache.txt +CMakeFiles +CMakeFiles/* +cmake_install.cmake diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index b8d52eae..e9622cfd 100644 --- a/cmake/CMakeLists.txt +++ b/cmake/CMakeLists.txt @@ -410,7 +410,7 @@ endif() if(CMAKE_COMPILER_IS_GNUCC) # # Preprocess configuration file for Linux/GCC - add_custom_command(OUTPUT include/SAX/ArabicaConfig.hpp + add_custom_command(OUTPUT ../include/SAX/ArabicaConfig.hpp COMMAND ${CMAKE_CXX_COMPILER} -E -D ${ARABICA_XML_BACKEND} ${CMAKE_CURRENT_LIST_DIR}/${ARABICA_CONFIG_FILE} > ../include/SAX/ArabicaConfig.hpp ) endif()