Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -660,6 +660,16 @@ 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.
if (CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang")
set_source_files_properties(
src/pbrt/util/string.cpp
PROPERTIES
COMPILE_FLAGS "-Wno-deprecated-declarations"
)
endif()

SET (PBRT_UTIL_SOURCE_HEADERS
src/pbrt/util/args.h
src/pbrt/util/bluenoise.h
Expand Down
Loading