Skip to content

Commit

Permalink
Merge pull request #589 from CesiumGS/tinyxml2-upgrade
Browse files Browse the repository at this point in the history
Upgrade tinyxml2
  • Loading branch information
kring authored Jan 29, 2023
2 parents 812e819 + 77c7bad commit e063364
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
1 change: 1 addition & 0 deletions CesiumAsync/test/TestInternalTimegm.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#define _CRT_SECURE_NO_WARNINGS
#include "InternalTimegm.h"

#include <catch2/catch.hpp>
Expand Down
10 changes: 8 additions & 2 deletions extern/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,14 @@ if (NOT TARGET glm)
add_subdirectory(glm GLM)
endif()

set(BUILD_TESTS OFF CACHE BOOL "Build tinyxml2 tests" FORCE)
add_subdirectory(tinyxml2)
# tinyxml2's CMake build tries to generate a pkg-config file in a way that's incompatible with multi-config generators
# (e.g., Visual Studio). And anyway it's trivial to build manually, so we do that here.
add_library(tinyxml2 tinyxml2/tinyxml2.cpp)
target_include_directories(
tinyxml2
PUBLIC
tinyxml2
)

add_subdirectory(asyncplusplus)

Expand Down
2 changes: 1 addition & 1 deletion extern/tinyxml2
Submodule tinyxml2 updated 206 files

0 comments on commit e063364

Please sign in to comment.