From 9556833b31f7134eb4e89cbb17154ce70c4e87f6 Mon Sep 17 00:00:00 2001 From: Scott West Date: Sat, 30 Aug 2008 20:17:24 -0400 Subject: [PATCH] Updated the to use static libraries too. Still have to test out the changes, on first glance it's still broken with static libraries, but I'm sorting that out I hope.. --- CMakeLists.txt | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0b538e7..d9742b1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,7 +15,7 @@ SET (MOC_HDRS glwidget.h ) -ADD_DEFINITIONS ( -Wall) +ADD_DEFINITIONS (-v -Wall) SET (QT_USE_QTOPENGL TRUE) @@ -27,10 +27,23 @@ INCLUDE ( ${QT_USE_FILE} ) QT4_WRAP_CPP ( MOC_HDRS ${MOC_HDRS} ) INCLUDE_DIRECTORIES ( ${CMAKE_BINARY_DIR} /usr/local/include/bullet/) ADD_EXECUTABLE (blob ${SRCS} ${MOC_HDRS} ) -FIND_LIBRARY (BULLET_coll_LIBRARY bulletcollision) -FIND_LIBRARY (BULLET_dyn_LIBRARY bulletdynamics) -FIND_LIBRARY (BULLET_math_LIBRARY bulletmath) -FIND_LIBRARY (BULLET_softbody_LIBRARY bulletsoftbody) +FIND_LIBRARY (BULLET_coll_LIBRARY + NAMES bulletcollision LibBulletCollision + PATHS . + ) + +FIND_LIBRARY (BULLET_dyn_LIBRARY + NAMES bulletdynamics LibBulletDynamics + PATHS . + ) +FIND_LIBRARY (BULLET_math_LIBRARY + NAMES bulletmath LibLinearMath + PATHS . + ) +FIND_LIBRARY (BULLET_softbody_LIBRARY + NAMES bulletsoftbody LibBulletSoftBody + PATHS . + ) SET (BULLET_LIBRARIES ${BULLET_softbody_LIBRARY} ${BULLET_coll_LIBRARY} -- 2.11.4.GIT