File tree 2 files changed +25
-0
lines changed
2 files changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -273,3 +273,19 @@ endif()
273
273
if (IPC_TOOLKIT_TOPLEVEL_PROJECT AND IPC_TOOLKIT_BUILD_PYTHON)
274
274
add_subdirectory (python)
275
275
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
+ )
Original file line number Diff line number Diff line change
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)
You can’t perform that action at this time.
0 commit comments