|
|
@ -167,6 +167,7 @@ if(USE_SYSTEM_TINYXML)
|
|
|
|
find_library(TINYXML_LIBRARIES tinyxml)
|
|
|
|
find_library(TINYXML_LIBRARIES tinyxml)
|
|
|
|
find_path(TINYXML_INCLUDE_DIR tinyxml.h)
|
|
|
|
find_path(TINYXML_INCLUDE_DIR tinyxml.h)
|
|
|
|
message(STATUS "Found TinyXML: ${TINYXML_LIBRARIES} ${TINYXML_INCLUDE_DIR}")
|
|
|
|
message(STATUS "Found TinyXML: ${TINYXML_LIBRARIES} ${TINYXML_INCLUDE_DIR}")
|
|
|
|
|
|
|
|
add_definitions (-DTIXML_USE_STL)
|
|
|
|
if(TINYXML_LIBRARIES AND TINYXML_INCLUDE_DIR)
|
|
|
|
if(TINYXML_LIBRARIES AND TINYXML_INCLUDE_DIR)
|
|
|
|
include_directories(${TINYXML_INCLUDE_DIR})
|
|
|
|
include_directories(${TINYXML_INCLUDE_DIR})
|
|
|
|
message(STATUS "Using system TinyXML library.")
|
|
|
|
message(STATUS "Using system TinyXML library.")
|
|
|
|