diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-11-18 08:26:32 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-11-18 08:26:32 +0300 |
commit | 047d2b055978ffa59697261656f1f77c48b9573a (patch) | |
tree | a9d1186ebedc394a1e4861755a694b05fd09291f /CMakeLists.txt | |
parent | 321afe0cd61fbb1c5c4d778fa7564584b46c548c (diff) |
CMake: GLEW_INCLUDE_PATH wasn't set for system glew
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
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) |