Skip to content

Commit 0cac873

Browse files
committed
turn off CGAL on windows in root cmakefile
1 parent 69f8858 commit 0cac873

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

CMakeLists.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,11 @@ add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/ext/pybind11)
3939

4040
#Libigl
4141
option(LIBIGL_WITH_TRIANGLE "Use Triangle" ON)
42-
option(LIBIGL_WITH_CGAL "Use CGAL" ON)
42+
if (WIN32)
43+
option(LIBIGL_WITH_CGAL "Use CGAL" OFF)
44+
else ()
45+
option(LIBIGL_WITH_CGAL "Use CGAL" ON)
46+
endif ()
4347
find_package(LIBIGL REQUIRED)
4448

4549
#COMPAS libigl modules

recipe/bld.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
set "CMAKE_GENERATOR=Ninja"
22

3-
$PYTHON -m pip install . --no-deps --ignore-installed -vv
3+
python -m pip install . --no-deps --ignore-installed -vv

recipe/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
$PYTHON -m pip install . --no-deps --ignore-installed -vv
1+
python -m pip install . --no-deps --ignore-installed -vv

0 commit comments

Comments
 (0)