Skip to content

Commit

Permalink
build: fix include guard (#4066)
Browse files Browse the repository at this point in the history
Don't want that included for Cuda compilation, either.

Signed-off-by: Larry Gritz <[email protected]>
  • Loading branch information
lgritz committed Nov 28, 2023
1 parent a7607a8 commit c098d7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/include/OpenImageIO/simd.h
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@


// Without SSE, we need to fall back on Imath for matrix44 invert
#if !OIIO_SIMD_SSE
#if !OIIO_SIMD_SSE && !defined(__CUDA_ARCH__)
# include <OpenImageIO/Imath.h>
#endif

Expand Down

0 comments on commit c098d7f

Please sign in to comment.