Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
This commit is contained in:
commit
5320ed9374
1142 changed files with 2852 additions and 666 deletions
|
@ -12,6 +12,7 @@ add_subdirectory(poly2tri)
|
|||
add_subdirectory(qhull)
|
||||
add_subdirectory(Shiny)
|
||||
add_subdirectory(semver)
|
||||
add_subdirectory(libigl)
|
||||
|
||||
# Adding libnest2d project for bin packing...
|
||||
set(LIBNEST2D_UNITTESTS ON CACHE BOOL "Force generating unittests for libnest2d")
|
||||
|
|
14
src/libigl/CMakeLists.txt
Normal file
14
src/libigl/CMakeLists.txt
Normal file
|
@ -0,0 +1,14 @@
|
|||
project(libigl)
|
||||
cmake_minimum_required(VERSION 3.0)
|
||||
|
||||
add_library(libigl INTERFACE)
|
||||
|
||||
find_package(libigl QUIET)
|
||||
|
||||
if(libigl_FOUND)
|
||||
message(STATUS "IGL found, using system version...")
|
||||
target_link_libraries(libigl INTERFACE igl::core)
|
||||
else()
|
||||
message(STATUS "IGL NOT found, using bundled version...")
|
||||
target_include_directories(libigl INTERFACE SYSTEM ${LIBDIR}/libigl)
|
||||
endif()
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue