Skip to content

Commit c098d7f

Browse files
authored
build: fix include guard (#4066)
Don't want that included for Cuda compilation, either. Signed-off-by: Larry Gritz <[email protected]>
1 parent a7607a8 commit c098d7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/include/OpenImageIO/simd.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@
276276

277277

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

0 commit comments

Comments
 (0)