hunter integration: pugixml
parent
c7f7ed8901
commit
c740f61f97
|
@ -3,12 +3,12 @@
|
||||||
find_package(RapidJSON CONFIG REQUIRED)
|
find_package(RapidJSON CONFIG REQUIRED)
|
||||||
find_package(ZLIB CONFIG REQUIRED)
|
find_package(ZLIB CONFIG REQUIRED)
|
||||||
find_package(utf8cpp CONFIG REQUIRED)
|
find_package(utf8cpp CONFIG REQUIRED)
|
||||||
find_package(irrXML CONFIG REQUIRED)
|
|
||||||
find_package(minizip CONFIG REQUIRED)
|
find_package(minizip CONFIG REQUIRED)
|
||||||
find_package(openddlparser CONFIG REQUIRED)
|
find_package(openddlparser CONFIG REQUIRED)
|
||||||
find_package(poly2tri CONFIG REQUIRED)
|
find_package(poly2tri CONFIG REQUIRED)
|
||||||
find_package(polyclipping CONFIG REQUIRED)
|
find_package(polyclipping CONFIG REQUIRED)
|
||||||
find_package(zip CONFIG REQUIRED)
|
find_package(zip CONFIG REQUIRED)
|
||||||
|
find_package(pugixml CONFIG REQUIRED)
|
||||||
|
|
||||||
include("${CMAKE_CURRENT_LIST_DIR}/@TARGETS_EXPORT_NAME@.cmake")
|
include("${CMAKE_CURRENT_LIST_DIR}/@TARGETS_EXPORT_NAME@.cmake")
|
||||||
check_required_components("@PROJECT_NAME@")
|
check_required_components("@PROJECT_NAME@")
|
||||||
|
|
|
@ -861,12 +861,12 @@ SET( Extra_SRCS
|
||||||
)
|
)
|
||||||
SOURCE_GROUP( Extra FILES ${Extra_SRCS})
|
SOURCE_GROUP( Extra FILES ${Extra_SRCS})
|
||||||
|
|
||||||
# irrXML
|
# pugixml
|
||||||
IF(ASSIMP_HUNTER_ENABLED)
|
IF(ASSIMP_HUNTER_ENABLED)
|
||||||
hunter_add_package(irrXML)
|
hunter_add_package(pugixml)
|
||||||
find_package(irrXML CONFIG REQUIRED)
|
find_package(pugixml CONFIG REQUIRED)
|
||||||
ELSE()
|
ELSE()
|
||||||
# irrXML already included in contrib directory by parent CMakeLists.txt.
|
add_subdirectory( pugixml-1.9 )
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
# utf8
|
# utf8
|
||||||
|
@ -1129,7 +1129,7 @@ IF(ASSIMP_HUNTER_ENABLED)
|
||||||
TARGET_LINK_LIBRARIES(assimp
|
TARGET_LINK_LIBRARIES(assimp
|
||||||
PUBLIC
|
PUBLIC
|
||||||
polyclipping::polyclipping
|
polyclipping::polyclipping
|
||||||
irrXML::irrXML
|
pugixml::pugixml
|
||||||
openddlparser::openddl_parser
|
openddlparser::openddl_parser
|
||||||
poly2tri::poly2tri
|
poly2tri::poly2tri
|
||||||
minizip::minizip
|
minizip::minizip
|
||||||
|
|
|
@ -1 +1,4 @@
|
||||||
add_subdirectory( pugixml-1.9 )
|
|
||||||
|
IF(NOT ASSIMP_HUNTER_ENABLED)
|
||||||
|
add_subdirectory( pugixml-1.9 )
|
||||||
|
ENDIF()
|
||||||
|
|
Loading…
Reference in New Issue