Skip to content

Commit

Permalink
CMake: update package compatibility mode when building within Trilinos
Browse files Browse the repository at this point in the history
  • Loading branch information
aprokop authored and masterleinad committed Mar 24, 2023
1 parent dc876ea commit 4e0d9c7
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 4e0d9c7

Please sign in to comment.