[Bf-blender-cvs] [047d2b05597] blender-v2.81-release: CMake: GLEW_INCLUDE_PATH wasn't set for system glew
Campbell Barton
noreply at git.blender.org
Mon Nov 18 06:37:28 CET 2019
Commit: 047d2b055978ffa59697261656f1f77c48b9573a
Author: Campbell Barton
Date: Mon Nov 18 16:26:32 2019 +1100
Branches: blender-v2.81-release
https://developer.blender.org/rB047d2b055978ffa59697261656f1f77c48b9573a
CMake: GLEW_INCLUDE_PATH wasn't set for system glew
===================================================================
M CMakeLists.txt
===================================================================
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c5c65f8a371..0c2e4f8b6b0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1193,6 +1193,7 @@ if(WITH_SYSTEM_GLEW)
message(FATAL_ERROR "GLEW is required to build Blender. Install it or disable WITH_SYSTEM_GLEW.")
endif()
+ set(GLEW_INCLUDE_PATH "${GLEW_INCLUDE_DIR}")
set(BLENDER_GLEW_LIBRARIES ${GLEW_LIBRARY})
else()
if(WITH_GLEW_ES)
More information about the Bf-blender-cvs
mailing list