Merge pull request #3528 from tellypresence/issue-3525_use_option_for_rapidjson_no_member_iterator
Provide option for rapidjson no-member-iterator definepull/3515/head^2
commit
99e4a10dc3
|
@ -1033,7 +1033,10 @@ ELSE()
|
||||||
INCLUDE_DIRECTORIES( "../contrib" )
|
INCLUDE_DIRECTORIES( "../contrib" )
|
||||||
INCLUDE_DIRECTORIES( "../contrib/pugixml/src" )
|
INCLUDE_DIRECTORIES( "../contrib/pugixml/src" )
|
||||||
ADD_DEFINITIONS( -DRAPIDJSON_HAS_STDSTRING=1 )
|
ADD_DEFINITIONS( -DRAPIDJSON_HAS_STDSTRING=1 )
|
||||||
|
option( ASSIMP_RAPIDJSON_NO_MEMBER_ITERATOR "Suppress rapidjson warning on MSVC (NOTE: breaks android build)" ON )
|
||||||
|
if(ASSIMP_RAPIDJSON_NO_MEMBER_ITERATOR)
|
||||||
ADD_DEFINITIONS( -DRAPIDJSON_NOMEMBERITERATORCLASS )
|
ADD_DEFINITIONS( -DRAPIDJSON_NOMEMBERITERATORCLASS )
|
||||||
|
endif()
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
# VC2010 fixes
|
# VC2010 fixes
|
||||||
|
|
Loading…
Reference in New Issue