diff --git a/intern/cycles/app/CMakeLists.txt b/intern/cycles/app/CMakeLists.txt index f6a6f96280f..b000266cac2 100644 --- a/intern/cycles/app/CMakeLists.txt +++ b/intern/cycles/app/CMakeLists.txt @@ -45,7 +45,9 @@ if(CYCLES_STANDALONE_REPOSITORY) endif() else() list(APPEND LIBRARIES bf_intern_glew_mx) - list(APPEND LIBRARIES extern_glog) + if(WITH_CYCLES_LOGGING) + list(APPEND LIBRARIES extern_glog) + endif() endif() if(WITH_CYCLES_STANDALONE AND WITH_CYCLES_STANDALONE_GUI)