Skip to content

Commit

Permalink
Check if Eigen patch was already applied (Fixes moves-rwth#616)
Browse files Browse the repository at this point in the history
  • Loading branch information
volkm committed Dec 12, 2024
1 parent 6432d9b commit 9999219
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion resources/3rdparty/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ ExternalProject_Add(
GIT_TAG bae907b8f6078b1df290729eef946360315bd312
SOURCE_DIR ${STORM_3RDPARTY_INCLUDE_DIR}/StormEigen
PREFIX ${STORM_3RDPARTY_BINARY_DIR}/StormEigen-3.4.1alpha
PATCH_COMMAND git apply ${STORM_3RDPARTY_SOURCE_DIR}/patches/eigen341alpha.patch
# First check whether patch was already applied (--reverse --check), other apply patch
PATCH_COMMAND git apply ${STORM_3RDPARTY_SOURCE_DIR}/patches/eigen341alpha.patch --reverse --check || git apply ${STORM_3RDPARTY_SOURCE_DIR}/patches/eigen341alpha.patch
UPDATE_COMMAND ""
CONFIGURE_COMMAND ""
BUILD_COMMAND ""
Expand Down

0 comments on commit 9999219

Please sign in to comment.