diff options
author | tamasmeszaros <meszaros.q@gmail.com> | 2019-10-25 14:16:26 +0300 |
---|---|---|
committer | tamasmeszaros <meszaros.q@gmail.com> | 2019-10-25 14:16:26 +0300 |
commit | deda712e209ccf1cfc1a5ec0dddef38c178096a8 (patch) | |
tree | 541bc99d9dd1ab4388b5f727eab0de1007038241 /CMakeLists.txt | |
parent | 62c90abbc03887c7cf03297d3ec2c7c68ee15755 (diff) | |
parent | 4554da29abc153c48284235ed73f2aa7d4eefc8e (diff) |
Merge branch 'tm_openvdb_integration'
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 8 |
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) |