From 2f4f40f5c161bda0460145dc79c39082890023a3 Mon Sep 17 00:00:00 2001 From: Sylvain Beucler Date: Fri, 9 Mar 2012 19:49:49 +0000 Subject: [PATCH] Properly add maths library for demos git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1085 7f0cb862-5218-0410-a997-914c9d46530a --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d636bcb..29dd515 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -173,7 +173,7 @@ 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) +LIST(APPEND DEMO_LIBS m) MACRO(ADD_DEMO name) if( FREEGLUT_BUILD_DEMOS ) -- 1.7.10.4