12 lines
287 B
CMake
12 lines
287 B
CMake
include(FetchContent)
|
|
|
|
FetchContent_Declare(
|
|
pugixml
|
|
EXCLUDE_FROM_ALL
|
|
GIT_REPOSITORY https://github.com/zeux/pugixml.git
|
|
GIT_TAG v1.11.4
|
|
GIT_SHALLOW TRUE
|
|
)
|
|
set(BUILD_SHARED_LIBS OFF)
|
|
set(PUGIXML_BUILD_TESTS OFF)
|
|
FetchContent_MakeAvailable(pugixml) |