Skip to content

Commit

Permalink
Merge pull request #6013 from masterleinad/cherry_pick_6012
Browse files Browse the repository at this point in the history
[4.0.01] CMake: update package compatibility mode when building within Trilinos
  • Loading branch information
dalg24 committed Mar 28, 2023
2 parents dc876ea + 4e0d9c7 commit 8c3d97e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/kokkos_install.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ ELSE()

WRITE_BASIC_PACKAGE_VERSION_FILE("${CMAKE_CURRENT_BINARY_DIR}/KokkosConfigVersion.cmake"
VERSION "${Kokkos_VERSION}"
COMPATIBILITY SameMajorVersion)
COMPATIBILITY AnyNewerVersion)

install(FILES ${CMAKE_CURRENT_BINARY_DIR}/KokkosConfigVersion.cmake
DESTINATION "${${PROJECT_NAME}_INSTALL_LIB_DIR}/cmake/${PACKAGE_NAME}")
Expand Down

0 comments on commit 8c3d97e

Please sign in to comment.