forked from microsoft/vcpkg
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[OpenVDB] Update to V9.0.0 (microsoft#23623)
* [OpenVDB] Update to V9.0.0 * update version * add license * update version
- Loading branch information
1 parent
86b0ea6
commit 867df2a
Showing
6 changed files
with
77 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
diff --git a/openvdb/openvdb/cmd/CMakeLists.txt b/openvdb/openvdb/cmd/CMakeLists.txt | ||
index c173566..53f8575 100644 | ||
--- a/openvdb/openvdb/cmd/CMakeLists.txt | ||
+++ b/openvdb/openvdb/cmd/CMakeLists.txt | ||
@@ -137,9 +137,11 @@ if(OPENVDB_BUILD_VDB_RENDER) | ||
|
||
if(WIN32) | ||
# @note OPENVDB_OPENEXR_STATICLIB is old functionality and should be removed | ||
- get_target_property(ILMBASE_LIB_TYPE IlmBase::Half TYPE) | ||
- if(OPENEXR_USE_STATIC_LIBS OR (${ILMBASE_LIB_TYPE} STREQUAL STATIC_LIBRARY)) | ||
- target_compile_definitions(vdb_render PUBLIC -DOPENVDB_OPENEXR_STATICLIB) | ||
+ if(USE_IMATH_HALF) | ||
+ get_target_property(ILMBASE_LIB_TYPE IlmBase::Half TYPE) | ||
+ if(OPENEXR_USE_STATIC_LIBS OR (${ILMBASE_LIB_TYPE} STREQUAL STATIC_LIBRARY)) | ||
+ target_compile_definitions(vdb_render PUBLIC -DOPENVDB_OPENEXR_STATICLIB) | ||
+ endif() | ||
endif() | ||
endif() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters