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

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortamasmeszaros <meszaros.q@gmail.com>2019-10-29 18:27:53 +0300
committertamasmeszaros <meszaros.q@gmail.com>2019-10-29 18:27:53 +0300
commitd63ae1c6085f02fa64b250b01071a3ec94406504 (patch)
tree0af0b6280418c33bb00b03f69b230433b7e0bf74 /sandboxes
parent6f8ce122878823d1b703dfaaab9c6d2101809ed9 (diff)
Simple openvdb conversion test.
Diffstat (limited to 'sandboxes')
-rw-r--r--sandboxes/openvdb/CMakeLists.txt11
1 files changed, 5 insertions, 6 deletions
diff --git a/sandboxes/openvdb/CMakeLists.txt b/sandboxes/openvdb/CMakeLists.txt
index 250c6cc68..c32d6c8d6 100644
--- a/sandboxes/openvdb/CMakeLists.txt
+++ b/sandboxes/openvdb/CMakeLists.txt
@@ -1,8 +1,7 @@
-add_executable(openvdb_example openvdb_example.cpp)
+if(TARGET OpenVDB::openvdb)
+ add_executable(openvdb_example openvdb_example.cpp)
-find_package(OpenVDB 5.0 REQUIRED COMPONENTS openvdb)
-slic3r_remap_configs(IlmBase::Half RelWithDebInfo Release)
-
-target_link_libraries(openvdb_example libslic3r)
-target_link_libraries(openvdb_example OpenVDB::openvdb)
+ target_link_libraries(openvdb_example libslic3r)
+ target_link_libraries(openvdb_example OpenVDB::openvdb)
+endif()