[Bf-blender-cvs] [8d68336] gooseberry: Fix for cycles cmake missing GLEW library variable when building without the GUI.

Lukas Tönne noreply at git.blender.org
Mon Mar 23 13:04:42 CET 2015


Commit: 8d68336344e9a89d61301180cdfa8b8301991421
Author: Lukas Tönne
Date:   Sat Mar 21 20:03:37 2015 +0100
Branches: gooseberry
https://developer.blender.org/rB8d68336344e9a89d61301180cdfa8b8301991421

Fix for cycles cmake missing GLEW library variable when building without
the GUI.

===================================================================

M	intern/cycles/cmake/external_libs.cmake

===================================================================

diff --git a/intern/cycles/cmake/external_libs.cmake b/intern/cycles/cmake/external_libs.cmake
index d7c59f4..13196e2 100644
--- a/intern/cycles/cmake/external_libs.cmake
+++ b/intern/cycles/cmake/external_libs.cmake
@@ -30,7 +30,7 @@ if(NOT CYCLES_STANDALONE_REPOSITORY)
 	set(GLEW_INCLUDE_DIR "${GLEW_INCLUDE_PATH}")
 endif()
 
-if(WITH_CYCLES_STANDALONE AND WITH_CYCLES_STANDALONE_GUI)
+if(WITH_CYCLES_STANDALONE)
 	set(CYCLES_APP_GLEW_LIBRARY ${BLENDER_GLEW_LIBRARIES})
 endif()




More information about the Bf-blender-cvs mailing list