diff --git a/CMakeLists.txt b/CMakeLists.txt index 28765adb3..163291c58 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -100,6 +100,7 @@ install(EXPORT ArborXTargets DESTINATION ${CMAKE_INSTALL_DATADIR}/cmake/ArborX ) +set(ARBORX_VERSION "10799") set(ARBORX_VERSION_STRING "2.0 (dev)") # Make sure that the git hash in ArborX_Version.hpp is considered to be always diff --git a/src/ArborX_Config.hpp.in b/src/ArborX_Config.hpp.in index cc57ceeb7..ffa234698 100644 --- a/src/ArborX_Config.hpp.in +++ b/src/ArborX_Config.hpp.in @@ -12,6 +12,7 @@ #ifndef ARBORX_CONFIG_HPP #define ARBORX_CONFIG_HPP +#cmakedefine ARBORX_VERSION @ARBORX_VERSION@ #cmakedefine ARBORX_ENABLE_ROCTHRUST #cmakedefine ARBORX_ENABLE_ONEDPL #cmakedefine ARBORX_ENABLE_MPI