589ce05
--- Demo/CMakeLists.txt~	2010-07-01 13:24:34.000000000 -0500
589ce05
+++ Demo/CMakeLists.txt	2010-07-01 13:27:23.044037625 -0500
589ce05
@@ -47,7 +47,7 @@
589ce05
 SET(CurrentExe "../chipmunk_demos")
589ce05
 ADD_EXECUTABLE(${CurrentExe}  Demo1.c  Demo2.c  Demo3.c  Demo4.c  Demo5.c  Demo6.c  Demo7.c  main.c)
589ce05
 
589ce05
-TARGET_LINK_LIBRARIES(${CurrentExe} ${Libraries} chipmunk_static)
589ce05
+TARGET_LINK_LIBRARIES(${CurrentExe} ${Libraries} chipmunk_static -lm)
589ce05
 
589ce05
 #the following line is an example of how to add a test to your project.
589ce05
 #Testname is the title for this particular test.  ExecutableToRun is the