only build tiff/png readers if support is requested
This commit is contained in:
parent
3f9e232b9a
commit
e802943469
1 changed files with 12 additions and 2 deletions
14
src/build.py
14
src/build.py
|
@ -151,7 +151,6 @@ source = Split(
|
|||
path_expression_grammar.cpp
|
||||
placement_finder.cpp
|
||||
plugin.cpp
|
||||
png_reader.cpp
|
||||
point_symbolizer.cpp
|
||||
polygon_pattern_symbolizer.cpp
|
||||
polygon_symbolizer.cpp
|
||||
|
@ -159,7 +158,6 @@ source = Split(
|
|||
save_map.cpp
|
||||
shield_symbolizer.cpp
|
||||
text_symbolizer.cpp
|
||||
tiff_reader.cpp
|
||||
wkb.cpp
|
||||
projection.cpp
|
||||
proj_transform.cpp
|
||||
|
@ -222,6 +220,18 @@ if env['JPEG']:
|
|||
jpeg_reader.cpp
|
||||
""")
|
||||
|
||||
if env['TIFF']:
|
||||
source += Split(
|
||||
"""
|
||||
tiff_reader.cpp
|
||||
""")
|
||||
|
||||
if env['PNG']:
|
||||
source += Split(
|
||||
"""
|
||||
png_reader.cpp
|
||||
""")
|
||||
|
||||
# agg backend
|
||||
source += Split(
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue