Skip to content

Commit

Permalink
Allow setting CP2K_CMAKE_SUFFIX to append to __cp2k_cmake_name
Browse files Browse the repository at this point in the history
  • Loading branch information
opoplawski authored and oschuett committed Oct 30, 2023
1 parent 61cc8ba commit f4ae0b7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,10 @@ if(CP2K_USE_ACCEL MATCHES "HIP")
set(__cp2k_cmake_name "local_hip")
endif()

if(CP2K_CMAKE_SUFFIX)
string(APPEND __cp2k_cmake_name "${CP2K_CMAKE_SUFFIX}")
endif()

# we can run the src consistency checks without actually searching for any
# dependencies.

Expand Down

0 comments on commit f4ae0b7

Please sign in to comment.