diff --git a/CMakeLists.txt b/CMakeLists.txt index 07ab5a8..554676d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -218,7 +218,7 @@ install(FILES ${TREXIO_MOD_FILE} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) # https://gitlab.kitware.com/cmake/community/wikis/FAQ#can-i-do-make-uninstall-with-cmake if(NOT TARGET uninstall) configure_file( - "${CMAKE_CURRENT_SOURCE_DIR}/tools/cmake_uninstall.cmake.in" + "${CMAKE_CURRENT_SOURCE_DIR}/cmake/cmake_uninstall.cmake.in" "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake" IMMEDIATE @ONLY) diff --git a/Makefile.am b/Makefile.am index 7faee3c..6338065 100644 --- a/Makefile.am +++ b/Makefile.am @@ -78,8 +78,8 @@ src_libtrexio_la_SOURCES = $(SOURCES) # Include CMake-related files in the distribution. dist_data_DATA = CMakeLists.txt \ - tools/cmake_uninstall.cmake.in \ - tools/FindTREXIO.cmake + cmake/cmake_uninstall.cmake.in \ + cmake/FindTREXIO.cmake # =============== TESTS =============== # diff --git a/tools/FindTREXIO.cmake b/cmake/FindTREXIO.cmake similarity index 100% rename from tools/FindTREXIO.cmake rename to cmake/FindTREXIO.cmake diff --git a/tools/cmake_uninstall.cmake.in b/cmake/cmake_uninstall.cmake.in similarity index 100% rename from tools/cmake_uninstall.cmake.in rename to cmake/cmake_uninstall.cmake.in