mirror of
https://github.com/mmp/pbrt-v4
synced 2026-09-26 16:20:07 +03:00
github: try n+1 to get GPU CI working again
This commit is contained in:
parent
62a128d7ce
commit
0bb1c5e48d
1 changed files with 1 additions and 0 deletions
|
|
@ -151,6 +151,7 @@ add_library (pbrt_warnings INTERFACE)
|
|||
target_compile_options (
|
||||
pbrt_warnings
|
||||
INTERFACE
|
||||
"$<$<CXX_COMPILER_ID:MSVC>:$<$<COMPILE_LANGUAGE:CUDA>:SHELL:-Xcompiler >/Zc:preprocessor>"
|
||||
"$<$<CXX_COMPILER_ID:MSVC>:$<$<COMPILE_LANGUAGE:CUDA>:SHELL:-Xcompiler >/wd4244>" # int -> float conversion
|
||||
"$<$<CXX_COMPILER_ID:MSVC>:$<$<COMPILE_LANGUAGE:CUDA>:SHELL:-Xcompiler >/wd4267>" # size_t -> int conversion
|
||||
"$<$<CXX_COMPILER_ID:MSVC>:$<$<COMPILE_LANGUAGE:CUDA>:SHELL:-Xcompiler >/wd4305>" # double constant assigned to float
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue