Skip to content

Commit 44ef1c7

Browse files
committed
Fix windows build
1 parent 7e26ec3 commit 44ef1c7

File tree

5 files changed

+8
-24
lines changed

5 files changed

+8
-24
lines changed

CMakeLists.txt

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -375,15 +375,6 @@ set(CESIUM_OMNI_CXX_DEFINES
375375
GLM_ENABLE_EXPERIMENTAL
376376
)
377377

378-
# Boost is a dependency of USD. It is dynamically linked so we need to set this flag.
379-
set(CESIUM_OMNI_CXX_DEFINES ${CESIUM_OMNI_CXX_DEFINES} BOOST_ALL_DYN_LINK)
380-
381-
# Disable auto-linking
382-
set(CESIUM_OMNI_CXX_DEFINES ${CESIUM_OMNI_CXX_DEFINES} BOOST_ALL_NO_LIB)
383-
384-
# Hide USD build warning
385-
set(CESIUM_OMNI_CXX_DEFINES ${CESIUM_OMNI_CXX_DEFINES} BOOST_BIND_GLOBAL_PLACEHOLDERS)
386-
387378
# TBB is a dependency of USD
388379
if(NOT ${USE_NVIDIA_RELEASE_LIBRARIES})
389380
set(CESIUM_OMNI_CXX_DEFINES_DEBUG ${CESIUM_OMNI_CXX_DEFINES_DEBUG} TBB_USE_DEBUG)

extern/CMakeLists.txt

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -211,12 +211,14 @@ set(PYBIND11_ROOT "${NVIDIA_BUILD_DIR}/target-deps/pybind11")
211211
set(NVIDIA_USD_LIBRARIES
212212
usd_ar
213213
usd_arch
214+
usd_boost
214215
usd_gf
215216
usd_js
216217
usd_kind
217218
usd_ndr
218219
usd_pcp
219220
usd_plug
221+
usd_python
220222
usd_sdf
221223
usd_sdr
222224
usd_tf
@@ -246,17 +248,6 @@ else()
246248
set(NVIDIA_USD_DEBUG_LIBRARIES ${NVIDIA_USD_DEBUG_LIBRARIES} tbb)
247249
endif()
248250

249-
# Add boost python (bundled as usd_boost in Kit SDK 109+)
250-
set(NVIDIA_USD_TARGET_NAMES ${NVIDIA_USD_TARGET_NAMES} usd_boost)
251-
252-
if(WIN32)
253-
set(NVIDIA_USD_RELEASE_LIBRARIES ${NVIDIA_USD_RELEASE_LIBRARIES} usd_boost)
254-
set(NVIDIA_USD_DEBUG_LIBRARIES ${NVIDIA_USD_DEBUG_LIBRARIES} usd_boost)
255-
else()
256-
set(NVIDIA_USD_RELEASE_LIBRARIES ${NVIDIA_USD_RELEASE_LIBRARIES} usd_boost)
257-
set(NVIDIA_USD_DEBUG_LIBRARIES ${NVIDIA_USD_DEBUG_LIBRARIES} usd_boost)
258-
endif()
259-
260251
if(${USE_NVIDIA_RELEASE_LIBRARIES})
261252
set(NVIDIA_USD_DEBUG_LIBRARIES ${NVIDIA_USD_RELEASE_LIBRARIES})
262253
endif()

extern/nvidia/deps/kit-sdk.packman.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
-->
1616
<dependency name="omni-ui" linkPath="../_build/target-deps/omni-ui/">
1717
<package name="omni.ui" version="0e529a493c7b9bf0" platforms="linux-x86_64 manylinux_2_35_x86_64"/>
18-
<package name="omni.ui" version="1fbb6da913c9dfa8" platforms="windows-x86_64"/>
18+
<package name="omni.ui" version="43dca50bad80e39b" platforms="windows-x86_64"/>
1919
</dependency>
2020
<dependency name="omni-kit-renderer-imgui" linkPath="../_build/target-deps/omni-kit-renderer-imgui/">
2121
<package name="omni.kit.renderer.imgui" version="a5613f69731afb88" platforms="linux-x86_64 manylinux_2_35_x86_64" />
22-
<package name="omni.kit.renderer.imgui" version="9bfff9ba25aa72c2" platforms="windows-x86_64" />
22+
<package name="omni.kit.renderer.imgui" version="a5caa90b87ca5c10" platforms="windows-x86_64" />
2323
</dependency>
2424
</project>

src/core/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,12 +188,14 @@ setup_lib(
188188
fabric
189189
usd_ar
190190
usd_arch
191+
usd_boost
191192
usd_gf
192193
usd_js
193194
usd_kind
194195
usd_ndr
195196
usd_pcp
196197
usd_plug
198+
usd_python
197199
usd_sdf
198200
usd_sdr
199201
usd_tf
@@ -207,7 +209,6 @@ setup_lib(
207209
usd_usdVol
208210
usd_vt
209211
usd_work
210-
usd_boost
211212
tbb
212213
carb
213214
omni_kit

src/plugins/CesiumUsdSchemas/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,13 @@ setup_lib(
6767
${SOURCES}
6868
LIBRARIES
6969
usd_arch
70+
usd_boost
71+
usd_python
7072
usd_sdf
7173
usd_tf
7274
usd_usd
7375
usd_usdGeom
7476
tbb
75-
usd_boost
7677
python312
7778
CXX_FLAGS
7879
${CESIUM_USD_SCHEMAS_CXX_FLAGS}

0 commit comments

Comments
 (0)