Skip to content

Commit d858e64

Browse files
committed
Fixed an issue with AX's cmake on windows producing the same library filenames
Signed-off-by: Nick Avramoussis <4256455+Idclip@users.noreply.github.com>
1 parent 41bb127 commit d858e64

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

openvdb_ax/openvdb_ax/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,10 @@ if(OPENVDB_AX_STATIC)
306306
PROPERTIES OUTPUT_NAME openvdb_ax
307307
)
308308

309+
if(WIN32)
310+
set_target_properties(openvdb_ax_static PROPERTIES PREFIX "lib")
311+
endif()
312+
309313
target_link_libraries(openvdb_ax_static PUBLIC ${OPENVDB_AX_CORE_DEPENDENT_LIBS})
310314

311315
# @todo fix opaque pointer requirements
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Build:
2+
- Fixed an issue with OpenVDB AX's CMake on Windows where the static and shared library targets would have the same name
3+
[Reported by Nicholas Yue]

0 commit comments

Comments
 (0)