Skip to content

Commit

Permalink
Update cmake dependencies (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
thfroitzheim authored Nov 8, 2024
1 parent af762a6 commit 2a3d675
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/cmake/Findmstore.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
set(_lib "mstore")
set(_pkg "MSTORE")
set(_url "https://github.com/grimme-lab/mstore")
set(_rev "v0.3.0")

if(NOT DEFINED "${_pkg}_FIND_METHOD")
if(DEFINED "${PROJECT_NAME}-dependency-method")
Expand All @@ -28,7 +29,7 @@ endif()

include("${CMAKE_CURRENT_LIST_DIR}/multicharge-utils.cmake")

multicharge_find_package("${_lib}" "${${_pkg}_FIND_METHOD}" "${_url}" "HEAD")
multicharge_find_package("${_lib}" "${${_pkg}_FIND_METHOD}" "${_url}" "${_rev}")

if(DEFINED "_${_pkg}_FIND_METHOD")
unset("${_pkg}_FIND_METHOD")
Expand Down

0 comments on commit 2a3d675

Please sign in to comment.