提交 ca0db69d 编写于 作者: M Matt Pharr

Update logic in CMakeLists.txt so that NDEBUG is set for all types of release builds.

上级 73adce45
......@@ -59,7 +59,7 @@ check_ext ("stb" "stb/tools" 1034f5)
check_ext ("OpenVDB" "openvdb/nanovdb" d5ea9808f)
check_ext ("zlib" "zlib/doc" 54d591e)
if (CMAKE_BUILD_TYPE MATCHES Release)
if (NOT CMAKE_BUILD_TYPE MATCHES Debug)
add_definitions (-D NDEBUG)
endif ()
# To build a release build with CHECKs enabled, comment-out the above
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册