Skip to content

Commit fd977a2

Browse files
committed
enable PugiXML compact mode
Signed-off-by: Fahrican Koşar <[email protected]>
1 parent b2256cc commit fd977a2

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)