Skip to content

Commit

Permalink
makepanda: Only build pnmimagetypes with exceptions if using OpenEXR
Browse files Browse the repository at this point in the history
  • Loading branch information
rdb committed Feb 2, 2025
1 parent 79d6727 commit 8a1159f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion makepanda/makepanda.py
Original file line number Diff line number Diff line change
Expand Up @@ -4027,7 +4027,9 @@ def get_config_express():
# DIRECTORY: panda/src/pnmimagetypes/
#

OPTS=['DIR:panda/src/pnmimagetypes', 'DIR:panda/src/pnmimage', 'BUILDING:PANDA', 'PNG', 'ZLIB', 'JPEG', 'TIFF', 'OPENEXR', 'EXCEPTIONS']
OPTS=['DIR:panda/src/pnmimagetypes', 'DIR:panda/src/pnmimage', 'BUILDING:PANDA', 'PNG', 'ZLIB', 'JPEG', 'TIFF', 'OPENEXR']
if not PkgSkip('OPENEXR') and GetTarget() != 'emscripten':
OPTS.append('EXCEPTIONS')
TargetAdd('p3pnmimagetypes_composite1.obj', opts=OPTS, input='p3pnmimagetypes_composite1.cxx')
TargetAdd('p3pnmimagetypes_composite2.obj', opts=OPTS, input='p3pnmimagetypes_composite2.cxx')

Expand Down

0 comments on commit 8a1159f

Please sign in to comment.