Revision: 54100
http://brlcad.svn.sourceforge.net/brlcad/?rev=54100&view=rev
Author: caen23
Date: 2012-12-20 14:09:12 +0000 (Thu, 20 Dec 2012)
Log Message:
-----------
Compile GLEW only if X11 is available (GCI:
http://www.google-melange.com/gci/task/view/google/gci2012/7999218)
Modified Paths:
--------------
brlcad/trunk/src/other/togl/src/CMakeLists.txt
Modified: brlcad/trunk/src/other/togl/src/CMakeLists.txt
===================================================================
--- brlcad/trunk/src/other/togl/src/CMakeLists.txt 2012-12-20 12:41:46 UTC
(rev 54099)
+++ brlcad/trunk/src/other/togl/src/CMakeLists.txt 2012-12-20 14:09:12 UTC
(rev 54100)
@@ -88,17 +88,24 @@
Xmu/LookupCmap.c
Xmu/StdCmap.c
)
+ SET(TOGL_SRCS
+ glew/glew.c
+ ${TOGL_XMU_SRCS}
+ togl.c
+ toglProcAddr.c
+ toglStubLib.c
+ ${CMAKE_CURRENT_BINARY_DIR}/toglStubInit.c
+ )
+ELSE(TOGL_WINDOWINGSYSTEM MATCHES "TOGL_X11")
+ SET(TOGL_SRCS
+ ${TOGL_XMU_SRCS}
+ togl.c
+ toglProcAddr.c
+ toglStubLib.c
+ ${CMAKE_CURRENT_BINARY_DIR}/toglStubInit.c
+ )
ENDIF(TOGL_WINDOWINGSYSTEM MATCHES "TOGL_X11")
-SET(TOGL_SRCS
- glew/glew.c
- ${TOGL_XMU_SRCS}
- togl.c
- toglProcAddr.c
- toglStubLib.c
- ${CMAKE_CURRENT_BINARY_DIR}/toglStubInit.c
- )
-
add_library(togl SHARED ${TOGL_SRCS})
ADD_DEPENDENCIES(togl togl_stubs_gen)
IF(WIN32)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits