[Bf-blender-cvs] [1d2aa62] alembic_pointcache: Fix for cycles cmake missing GLEW library variable when building without the GUI.

Lukas Tönne noreply at git.blender.org
Sat Mar 21 20:25:29 CET 2015


Commit: 1d2aa6236606af8cccf30eafc7125ddb70e3c8e6
Author: Lukas Tönne
Date:   Sat Mar 21 20:03:37 2015 +0100
Branches: alembic_pointcache
https://developer.blender.org/rB1d2aa6236606af8cccf30eafc7125ddb70e3c8e6

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