Skip to content

Commit e2011c5

Browse files
authored
Merge pull request #1726 from Idclip/ax_windows_build_fix
Fixed an issue with AX's cmake on windows producing the same library …
2 parents ccfd27c + d858e64 commit e2011c5

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)