diff options
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index d9f1d96d9c4..5120cc4e657 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1073,11 +1073,9 @@ if(UNIX AND NOT APPLE) if(OSL_INCLUDES AND OSL_LIBRARIES AND OSL_COMPILER) set(OSL_FOUND TRUE) - message(STATUS "OSL includes = ${OSL_INCLUDES}") - message(STATUS "OSL library = ${OSL_LIBRARIES}") - message(STATUS "OSL compiler = ${OSL_COMPILER}") else() message(STATUS "OSL not found") + set(WITH_CYCLES_OSL OFF) endif() endif() @@ -1752,6 +1750,7 @@ elseif(WIN32) set(OSL_FOUND TRUE) else() message(STATUS "OSL not found") + set(WITH_CYCLES_OSL OFF) endif() endif() @@ -2045,6 +2044,7 @@ elseif(APPLE) set(OSL_FOUND TRUE) else() message(STATUS "OSL not found") + set(WITH_CYCLES_OSL OFF) endif() endif() |