1
0
mirror of https://github.com/TREX-CoE/trexio.git synced 2024-11-03 20:54:07 +01:00

move FindTREXIO and cmake_uninstall modules in cmake directory

This commit is contained in:
q-posev 2021-11-17 11:02:35 +01:00
parent 3dbe2f66dd
commit ae753108ff
4 changed files with 3 additions and 3 deletions

View File

@ -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 # https://gitlab.kitware.com/cmake/community/wikis/FAQ#can-i-do-make-uninstall-with-cmake
if(NOT TARGET uninstall) if(NOT TARGET uninstall)
configure_file( 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" "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
IMMEDIATE @ONLY) IMMEDIATE @ONLY)

View File

@ -78,8 +78,8 @@ src_libtrexio_la_SOURCES = $(SOURCES)
# Include CMake-related files in the distribution. # Include CMake-related files in the distribution.
dist_data_DATA = CMakeLists.txt \ dist_data_DATA = CMakeLists.txt \
tools/cmake_uninstall.cmake.in \ cmake/cmake_uninstall.cmake.in \
tools/FindTREXIO.cmake cmake/FindTREXIO.cmake
# =============== TESTS =============== # # =============== TESTS =============== #