Skip to content

Commit e271d0d

Browse files
authored
test patch
1 parent 524d10e commit e271d0d

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

CMakeLists.txt

+16
Original file line numberDiff line numberDiff line change
@@ -273,3 +273,19 @@ endif()
273273
if(IPC_TOOLKIT_TOPLEVEL_PROJECT AND IPC_TOOLKIT_BUILD_PYTHON)
274274
add_subdirectory(python)
275275
endif()
276+
277+
################################################################################
278+
# Patch predicates library
279+
################################################################################
280+
281+
CPMAddPackage(
282+
NAME predicates
283+
GITHUB_REPOSITORY libigl/libigl-predicates
284+
GIT_TAG 0d88c49
285+
DOWNLOAD_ONLY ON
286+
PATCH_COMMAND ${CMAKE_COMMAND} -E copy
287+
${CMAKE_CURRENT_SOURCE_DIR}/cmake/ipc_toolkit/patch/predicates.patch
288+
${CMAKE_CURRENT_BINARY_DIR}/_deps/predicates-src/ &&
289+
cd ${CMAKE_CURRENT_BINARY_DIR}/_deps/predicates-src/ &&
290+
git apply predicates.patch || true
291+
)
+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
diff --git a/CMakeLists.txt b/CMakeLists.txt
2+
index 1234567..89abcdef 100644
3+
--- a/CMakeLists.txt
4+
+++ b/CMakeLists.txt
5+
@@ -1,4 +1,4 @@
6+
-cmake_minimum_required(VERSION 2.8.6)
7+
+cmake_minimum_required(VERSION 3.5)
8+
9+
project(predicates)

0 commit comments

Comments
 (0)