remove all hunter-dependencies for pugixml.
parent
23f144a7b7
commit
52826a03f8
|
@ -8,7 +8,6 @@ find_package(openddlparser CONFIG REQUIRED)
|
|||
find_package(poly2tri CONFIG REQUIRED)
|
||||
find_package(polyclipping CONFIG REQUIRED)
|
||||
find_package(zip CONFIG REQUIRED)
|
||||
find_package(pugixml CONFIG REQUIRED)
|
||||
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/@TARGETS_EXPORT_NAME@.cmake")
|
||||
check_required_components("@PROJECT_NAME@")
|
||||
|
|
|
@ -862,17 +862,11 @@ SET( Extra_SRCS
|
|||
SOURCE_GROUP( Extra FILES ${Extra_SRCS})
|
||||
|
||||
# pugixml
|
||||
IF(ASSIMP_HUNTER_ENABLED)
|
||||
hunter_add_package(pugixml)
|
||||
find_package(pugixml CONFIG REQUIRED)
|
||||
ELSE()
|
||||
SET( Pugixml_SRCS
|
||||
../contrib/pugixml/src/pugiconfig.hpp
|
||||
../contrib/pugixml/src/pugixml.hpp
|
||||
#../contrib/pugixml/src/pugixml.cpp
|
||||
)
|
||||
SOURCE_GROUP( Contrib\\Pugixml FILES ${Pugixml_SRCS})
|
||||
ENDIF()
|
||||
|
||||
# utf8
|
||||
IF(ASSIMP_HUNTER_ENABLED)
|
||||
|
@ -1135,7 +1129,6 @@ IF(ASSIMP_HUNTER_ENABLED)
|
|||
TARGET_LINK_LIBRARIES(assimp
|
||||
PUBLIC
|
||||
polyclipping::polyclipping
|
||||
pugixml::pugixml
|
||||
openddlparser::openddl_parser
|
||||
poly2tri::poly2tri
|
||||
minizip::minizip
|
||||
|
|
Loading…
Reference in New Issue