Skip to content

Commit

Permalink
add edits to build system for updated cesium-native
Browse files Browse the repository at this point in the history
  • Loading branch information
corybarr committed Sep 1, 2024
1 parent 9bd4a19 commit dbe6a0f
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 12 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,7 @@ set(CESIUM_OMNI_CXX_DEFINES
GLM_FORCE_XYZW_ONLY # Disable .rgba and .stpq to make it easier to view values from debugger
GLM_FORCE_EXPLICIT_CTOR # Disallow implicit conversions between dvec3 <-> dvec4, dvec3 <-> fvec3, etc
GLM_FORCE_SIZE_T_LENGTH # Make vec.length() and vec[idx] use size_t instead of int
GLM_ENABLE_EXPERIMENTAL
)

# Boost is a dependency of USD. It is dynamically linked so we need to set this flag.
Expand Down
5 changes: 0 additions & 5 deletions extern/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,11 @@ add_external_project(
CesiumAsync
CesiumUtility
async++
csprng
draco
ktx
modp_b64
s2geometry
spdlog
tinyxml2
uriparser
webpdecoder
turbojpeg
meshoptimizer
sqlite3
Expand All @@ -38,7 +34,6 @@ add_external_project(
CESIUM_TRACING_ENABLED=${CESIUM_OMNI_ENABLE_TRACING}
PROJECT_EXTERN_DIRECTORY
"${PROJECT_SOURCE_DIR}/extern"
EXPECTED_DEBUG_POSTFIX "d"
)
# cmake-format: on

Expand Down
2 changes: 1 addition & 1 deletion extern/cesium-native
Submodule cesium-native updated 113 files
4 changes: 0 additions & 4 deletions src/core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,11 @@ setup_lib(
CesiumAsync
CesiumUtility
async++
csprng
draco
ktx
modp_b64
s2geometry
spdlog
tinyxml2
uriparser
webpdecoder
turbojpeg
meshoptimizer
sqlite3
Expand Down
2 changes: 1 addition & 1 deletion src/core/src/SettingsWrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#include <carb/InterfaceUtils.h>
#include <carb/settings/ISettings.h>
#include <spdlog/fmt/bundled/format.h>
#include <spdlog/fmt/fmt.h>

namespace cesium::omniverse::Settings {

Expand Down
2 changes: 1 addition & 1 deletion src/core/src/UrlAssetAccessor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class UrlAssetRequest final : public CesiumAsync::IAssetRequest {
_headers.insert({"X-Cesium-Client", "Cesium for Omniverse"});
_headers.insert(
{"X-Cesium-Client-Version", fmt::format("v{} {}", CESIUM_OMNI_VERSION, CESIUM_OMNI_GIT_HASH_ABBREVIATED)});
_headers.insert({"X-Cesium-Client-Engine", fmt::format("Kit SDK {}", buildInfo.kitVersion)});
_headers.insert({"X-Cesium-Client-Engine", fmt::format("Kit SDK {}", std::string(buildInfo.kitVersion))});
_headers.insert({"X-Cesium-Client-OS", platformInfo.platform});
}

Expand Down

0 comments on commit dbe6a0f

Please sign in to comment.