|
|
|
@ -161,6 +161,19 @@ if (NOT FFMPEG_FOUND)
|
|
|
|
|
message(WARNING "--------------------")
|
|
|
|
|
endif (NOT FFMPEG_FOUND)
|
|
|
|
|
|
|
|
|
|
# TinyXML
|
|
|
|
|
option(USE_SYSTEM_TINYXML "Use system TinyXML library instead of internal." OFF)
|
|
|
|
|
if(USE_SYSTEM_TINYXML)
|
|
|
|
|
find_library(TINYXML_LIBRARIES tinyxml)
|
|
|
|
|
find_path(TINYXML_INCLUDE_DIR tinyxml.h)
|
|
|
|
|
message(STATUS "Found TinyXML: ${TINYXML_LIBRARIES} ${TINYXML_INCLUDE_DIR}")
|
|
|
|
|
if(TINYXML_LIBRARIES AND TINYXML_INCLUDE_DIR)
|
|
|
|
|
include_directories(${TINYXML_INCLUDE_DIR})
|
|
|
|
|
message(STATUS "Using system TinyXML library.")
|
|
|
|
|
else()
|
|
|
|
|
message(FATAL_ERROR "Detection of system TinyXML incomplete.")
|
|
|
|
|
endif()
|
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
# Platform specific
|
|
|
|
|
if (WIN32)
|
|
|
|
|