Skip to content

Commit 86af902

Browse files
authored
Merge pull request #51 from duck2/compact_mode
Enable PugiXML compact mode
2 parents 9abe454 + fd977a2 commit 86af902

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

libs/EXTERNAL/libpugixml/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,7 @@ set_target_properties(libpugixml PROPERTIES PREFIX "") #Avoid extra 'lib' prefix
1919
set(PUGIXML_SUPPRESS_FLAGS -w)
2020
target_compile_options(libpugixml PRIVATE ${PUGIXML_SUPPRESS_FLAGS})
2121

22+
#Enable compact mode which reduces memory usage.
23+
add_definitions(-DPUGIXML_COMPACT)
24+
2225
install(TARGETS libpugixml DESTINATION bin)

0 commit comments

Comments
 (0)