Fix openvdb dependency in libslic3r

This commit is contained in:
tamasmeszaros 2019-10-25 15:48:01 +02:00
parent 5c0cd06f2f
commit 1cc7bd9976
4 changed files with 51 additions and 22 deletions

View file

@ -1,2 +1,8 @@
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)