From de4ba5af8a3510f90f8faa15e5d4b30a6302e847 Mon Sep 17 00:00:00 2001 From: Sylvain Beucler Date: Fri, 9 Mar 2012 19:24:57 +0000 Subject: [PATCH] Add maths library for demos git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1084 7f0cb862-5218-0410-a997-914c9d46530a --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1636a23..d636bcb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -173,6 +173,8 @@ INSTALL(FILES ${FREEGLUT_HEADERS} DESTINATION include/GL) option( FREEGLUT_BUILD_DEMOS "Build FreeGLUT demos." ON ) SET(DEMO_LIBS ${OPENGL_LIBRARY} ${LIBS}) +SET(DEMO_LIBS ${LIBS} m) + MACRO(ADD_DEMO name) if( FREEGLUT_BUILD_DEMOS ) ADD_EXECUTABLE(${name} ${ARGN}) -- 1.7.10.4