Skip to content

Commit

Permalink
Added conditional compiling of the various decoders
Browse files Browse the repository at this point in the history
This is intended to control compilation options in the future.

Stay tuned.

Signed-off-by: Peter Kovář <[email protected]>
  • Loading branch information
1div0 committed Apr 14, 2024
1 parent 8c03a50 commit 2f9fa78
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/r3d.imageio/r3dinput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,17 @@
#include <OpenImageIO/tiffutils.h>

#include <R3DSDK.h>
#ifdef GPU
#ifdef CUDA
#include <R3DSDKCuda.h>
#endif // CUDA
#ifdef OpenCL
#include <R3DSDKOpenCL.h>
#endif // OpenCL
#ifdef Metal
#include <R3DSDKMetal.h>
#endif // Metal
#endif // GPU
#include <R3DSDKDefinitions.h>

#include <cstdio>
Expand Down

0 comments on commit 2f9fa78

Please sign in to comment.