提交 06a0ad56 编写于 作者: M Matt Pharr

Revert "Pass -fkeep-inline-functions to gcc before version 8"

This reverts commit 95b4c9b4.

Issue #37.
上级 5a749540
......@@ -293,10 +293,6 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "Intel")
list (APPEND PBRT_CXX_FLAGS "-fp-model ${FP_MODEL}")
endif ()
if (CMAKE_COMPILER_IS_GNUCC AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 8.0)
list (APPEND PBRT_CXX_FLAGS -fkeep-inline-functions)
endif ()
if (MSVC AND MSVC_VERSION LESS 1920)
message (SEND_ERROR "pbrt-v4 currently requires MSVC 2019 to build on Windows. PRs that get MSVC 2017 working as well would be welcomed. :-)")
endif ()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册