CMake: Fix use of some option which was never defined
authorSergey Sharybin <sergey.vfx@gmail.com>
Wed, 2 Nov 2016 09:32:46 +0000 (10:32 +0100)
committerSergey Sharybin <sergey.vfx@gmail.com>
Wed, 2 Nov 2016 09:32:46 +0000 (10:32 +0100)
This way it seems more logical to me.

CMakeLists.txt

index f3c22d9b717012f33aa82d4c2c5ff2e154f68bed..fe226dd769b941e683e7674bf53a02254205bda3 100644 (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()