Update json.hpp to fix compilation with clang with C++17(-std=c++1z) support.

This commit is contained in:
Syoyo Fujita 2019-02-04 16:19:13 +09:00
parent ead876fce9
commit c0d0251e2c
2 changed files with 9093 additions and 3407 deletions

View File

@ -23,7 +23,8 @@ endif (APPLE)
set(CMAKE_CXX_STANDARD 11)
if (${DRACO_DIR} STREQUAL "")
if (DEFINED DRACO_DIR)
if (DRACO_DIR STREQUAL "")
else ()
# TODO(syoyo): better CMake script for draco
add_definitions(-DTINYGLTF_ENABLE_DRACO)
@ -32,6 +33,7 @@ else ()
link_directories(${DRACO_DIR}/lib)
set(DRACO_LIBRARY draco)
endif ()
endif()
include_directories(
../../

12150
json.hpp

File diff suppressed because it is too large Load Diff