未验证 提交 6e8627ce 编写于 作者: M Matt Pharr 提交者: GitHub

Merge pull request #97 from shadeops/ilmbase_shared_fix

Apply CMake CMP0077 policy in a different way
......@@ -44,9 +44,8 @@ set (ZLIB_LIBRARIES ${ZLIB_LIBARIES} PARENT_SCOPE)
###########################################################################
# OpenEXR
if (POLICY CMP0077)
cmake_policy(SET CMP0077 NEW)
endif()
SET (CMAKE_POLICY_DEFAULT_CMP0077 NEW)
set (ILMBASE_NAMESPACE_VERSIONING OFF CACHE BOOL " " FORCE)
set (OPENEXR_NAMESPACE_VERSIONING OFF CACHE BOOL " " FORCE)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册