Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1416b5b4189..22f31d6af48 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1340,6 +1340,12 @@ else()
list(APPEND GL_DEFINITIONS -DWITH_GL_PROFILE_CORE)
endif()
+if (WITH_GPU_SHADER_BUILDER AND WITH_USD)
+ message(FATAL_ERROR
+ "Unable to compile WITH_GPU_SHADER_BUILDER and WITH_USD."
+ )
+endif()
+
#-----------------------------------------------------------------------------
# Configure Metal.
if (WITH_METAL_BACKEND)