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:
authorCampbell Barton <ideasman42@gmail.com>2010-12-08 11:43:06 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-12-08 11:43:06 +0300
commitafacd184982e58a9c830a3d5366e25983939a7ba (patch)
tree311ee6e5abfcda32e3cbad133276512d68abe25b /extern/glew
parent70df57df0f82be3966a09c8548bfde23fd5c17c4 (diff)
use lowercase for cmake builtin names and macros, remove contents in else() and endif() which is no longer needed.
Diffstat (limited to 'extern/glew')
-rw-r--r--extern/glew/CMakeLists.txt14
1 files changed, 7 insertions, 7 deletions
diff --git a/extern/glew/CMakeLists.txt b/extern/glew/CMakeLists.txt
index 7bd766d465d..82778fd13fb 100644
--- a/extern/glew/CMakeLists.txt
+++ b/extern/glew/CMakeLists.txt
@@ -24,15 +24,15 @@
#
# ***** END GPL LICENSE BLOCK *****
-SET(INC
+set(INC
./include
)
-IF(UNIX)
- LIST(APPEND INC ${X11_X11_INCLUDE_PATH})
-ENDIF(UNIX)
+if(UNIX)
+ list(APPEND INC ${X11_X11_INCLUDE_PATH})
+endif()
-SET(SRC
+set(SRC
src/glew.c
include/GL/glew.h
@@ -40,6 +40,6 @@ SET(SRC
include/GL/wglew.h
)
-ADD_DEFINITIONS(-DGLEW_STATIC)
+add_definitions(-DGLEW_STATIC)
-BLENDERLIB(extern_glew "${SRC}" "${INC}")
+blenderlib(extern_glew "${SRC}" "${INC}")