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.txt12
1 files changed, 8 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4dd165b0185..f0ca98c44a3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -852,7 +852,8 @@ if(WITH_X11)
if(X11_Xinput_LIB)
list(APPEND PLATFORM_LINKLIBS ${X11_Xinput_LIB})
else()
- set(WITH_X11_XINPUT OFF)
+ message(FATAL_ERROR "LibXi not found. Disable WITH_X11_XINPUT if you
+ want to build without tablet support")
endif()
endif()
@@ -863,7 +864,8 @@ if(WITH_X11)
if(X11_Xxf86vmode_LIB)
list(APPEND PLATFORM_LINKLIBS ${X11_Xxf86vmode_LIB})
else()
- set(WITH_X11_XF86VMODE OFF)
+ message(FATAL_ERROR "libXxf86vm not found. Disable WITH_X11_XF86VMODE if you
+ want to build without")
endif()
endif()
@@ -871,7 +873,8 @@ if(WITH_X11)
if(X11_Xfixes_LIB)
list(APPEND PLATFORM_LINKLIBS ${X11_Xfixes_LIB})
else()
- set(WITH_X11_XFIXES OFF)
+ message(FATAL_ERROR "libXfixes not found. Disable WITH_X11_XFIXES if you
+ want to build without")
endif()
endif()
@@ -881,7 +884,8 @@ if(WITH_X11)
if(X11_Xrender_LIB)
list(APPEND PLATFORM_LINKLIBS ${X11_Xrender_LIB})
else()
- set(WITH_X11_ALPHA OFF)
+ message(FATAL_ERROR "libXrender not found. Disable WITH_X11_ALPHA if you
+ want to build without")
endif()
endif()