File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,8 +40,8 @@ FetchContent_MakeAvailable(nanobind)
4040
4141# Download and set up libigl
4242option (LIBIGL_COPYLEFT_CORE "Build target igl_copyleft::core" ON )
43- option (LIBIGL_COPYLEFT_CGAL "Build target igl_copyleft::cgal" ON )
44- option (LIBIGL_EMBREE "Build target igl::embree" ON )
43+ option (LIBIGL_COPYLEFT_CGAL "Build target igl_copyleft::cgal" OFF )
44+ option (LIBIGL_EMBREE "Build target igl::embree" OFF )
4545option (LIBIGL_COPYLEFT_TETGEN "Build target igl_copyleft::tetgen" ON )
4646option (LIBIGL_RESTRICTED_TRIANGLE "Build target igl_restricted::triangle" ON )
4747FetchContent_Declare (
@@ -95,9 +95,13 @@ function(pyigl_include prefix name)
9595 endif ()
9696 file (GLOB sources "${CMAKE_CURRENT_SOURCE_DIR} /src/${subpath} /*.cpp" )
9797
98- ## Just compile a single file
99- #list(GET sources 0 sources)
100- #list(APPEND sources "${CMAKE_CURRENT_SOURCE_DIR}/src/${subpath}/module.cpp")
98+ # Just compile a single file
99+ list (FILTER sources EXCLUDE REGEX ".*/module\\ .cpp$" )
100+ list (GET sources 0 sources)
101+ list (APPEND sources "${CMAKE_CURRENT_SOURCE_DIR} /src/${subpath} /module.cpp" )
102+
103+ message (STATUS "$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$" )
104+ message (STATUS "${prefix} ${name} sources: ${sources} " )
101105
102106 set (BINDING_SOURCES ${sources} )
103107 list (FILTER BINDING_SOURCES EXCLUDE REGEX ".*/module\\ .cpp$" )
You can’t perform that action at this time.
0 commit comments