CMake: Fix use of some option which was never defined

This way it seems more logical to me.
This commit is contained in:
Sergey Sharybin
2016-11-02 10:32:46 +01:00
parent f94a460397
commit 97a8cd6883

View File

@@ -731,7 +731,7 @@ elseif(WITH_CYCLES OR WITH_OPENIMAGEIO OR WITH_AUDASPACE OR WITH_INTERNATIONAL O
# Keep enabled
else()
# New dependency graph needs either Boost or C++11 for function bindings.
if(NOT USE_CXX11)
if(NOT WITH_CXX11)
# Enabled but we don't need it
set(WITH_BOOST OFF)
endif()