Skip to content

Commit

Permalink
Build patch to fix wierd problem where Abs isn't imported by common_m…
Browse files Browse the repository at this point in the history
…ath.py in externalproject libsurvive
  • Loading branch information
acochrane committed Oct 10, 2023
1 parent 85f18db commit 0a9d9a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ include(ExternalProject)
externalproject_add(libsurvive
GIT_REPOSITORY https://github.com/cntools/libsurvive.git
GIT_TAG master
PATCH_COMMAND echo "sed -i 's/, tan$/, tan, Abs/' src/generated/common_math.py" \> patch && bash patch
CMAKE_ARGS
-DCMAKE_INSTALL_PREFIX=${CMAKE_CURRENT_BINARY_DIR}/libsurvive-install
-DCMAKE_BUILD_TYPE=Release
Expand Down

0 comments on commit 0a9d9a7

Please sign in to comment.