Skip to content

Commit

Permalink
CMake: AmiciConfig.cmake -> AmiciConfig.cmake.in (#2493)
Browse files Browse the repository at this point in the history
Rename AmiciConfig.cmake->AmiciConfig.cmake.in so that CMake doesn't discover the template file when searching for the package configuration.
  • Loading branch information
dweindl authored Sep 24, 2024
1 parent 074415e commit 2e8a8df
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ export(
include(CMakePackageConfigHelpers)
include(version)
configure_package_config_file(
cmake/AmiciConfig.cmake "${CMAKE_CURRENT_BINARY_DIR}/AmiciConfig.cmake"
"cmake/AmiciConfig.cmake.in" "${CMAKE_CURRENT_BINARY_DIR}/AmiciConfig.cmake"
INSTALL_DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/Amici")
write_basic_package_version_file(AmiciConfigVersion.cmake
COMPATIBILITY ExactVersion)
Expand Down
File renamed without changes.

0 comments on commit 2e8a8df

Please sign in to comment.