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