Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortamasmeszaros <meszaros.q@gmail.com>2019-10-25 14:16:26 +0300
committertamasmeszaros <meszaros.q@gmail.com>2019-10-25 14:16:26 +0300
commitdeda712e209ccf1cfc1a5ec0dddef38c178096a8 (patch)
tree541bc99d9dd1ab4388b5f727eab0de1007038241 /CMakeLists.txt
parent62c90abbc03887c7cf03297d3ec2c7c68ee15755 (diff)
parent4554da29abc153c48284235ed73f2aa7d4eefc8e (diff)
Merge branch 'tm_openvdb_integration'
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9986aab7c..d3b0fc5ed 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -397,6 +397,14 @@ add_custom_target(pot
find_package(NLopt 1.4 REQUIRED)
+if(SLIC3R_STATIC)
+ set(OPENVDB_USE_STATIC_LIBS ON)
+ set(USE_BLOSC TRUE)
+endif()
+
+find_package(OpenVDB 5.0 REQUIRED openvdb)
+slic3r_remap_configs(IlmBase::Half RelWithDebInfo Release)
+
# libslic3r, PrusaSlicer GUI and the PrusaSlicer executable.
add_subdirectory(src)
set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT PrusaSlicer_app_console)