mirror of
https://github.com/mmp/pbrt-v4
synced 2026-09-26 16:20:07 +03:00
Suppress a deprecation warning.
The solution for the warning in string.cpp will only arrive in C++26.
This commit is contained in:
parent
970fee03b7
commit
7f217866a7
1 changed files with 8 additions and 0 deletions
|
|
@ -660,6 +660,14 @@ SET (PBRT_UTIL_SOURCE
|
|||
src/pbrt/util/vecmath.cpp
|
||||
)
|
||||
|
||||
# A warning about a deprecated function in C++17 but the solution will only be
|
||||
# in C++26.
|
||||
set_source_files_properties(
|
||||
src/pbrt/util/string.cpp
|
||||
PROPERTIES
|
||||
COMPILE_FLAGS "-Wno-deprecated-declarations"
|
||||
)
|
||||
|
||||
SET (PBRT_UTIL_SOURCE_HEADERS
|
||||
src/pbrt/util/args.h
|
||||
src/pbrt/util/bluenoise.h
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue