make GLUT optional in cmake
fix for btMultiBody to avoid extreme energy gain
This commit is contained in:
13
btgui/Gwen/CMakeLists.txt
Normal file
13
btgui/Gwen/CMakeLists.txt
Normal file
@@ -0,0 +1,13 @@
|
||||
|
||||
INCLUDE_DIRECTORIES(
|
||||
${BULLET_PHYSICS_SOURCE_DIR}/src
|
||||
${BULLET_PHYSICS_SOURCE_DIR}/btgui
|
||||
)
|
||||
|
||||
ADD_DEFINITIONS( -DGWEN_COMPILE_STATIC -D_HAS_EXCEPTIONS=0 -D_STATIC_CPPLIB )
|
||||
|
||||
FILE(GLOB gwen_SRCS "*.cpp")
|
||||
FILE(GLOB gwen_HDRS "*.h")
|
||||
|
||||
ADD_LIBRARY(gwen ${gwen_SRCS} ${gwen_HDRS})
|
||||
|
||||
Reference in New Issue
Block a user