Revision: 8293 http://playerstage.svn.sourceforge.net/playerstage/?rev=8293&view=rev Author: robotos Date: 2009-10-16 08:16:36 +0000 (Fri, 16 Oct 2009)
Log Message: ----------- compiling with -DdSINGLE or -DdDOUBLE according to ode-config Modified Paths: -------------- code/gazebo/trunk/cmake/FindOde.cmake Modified: code/gazebo/trunk/cmake/FindOde.cmake =================================================================== --- code/gazebo/trunk/cmake/FindOde.cmake 2009-10-16 01:33:29 UTC (rev 8292) +++ code/gazebo/trunk/cmake/FindOde.cmake 2009-10-16 08:16:36 UTC (rev 8293) @@ -21,6 +21,9 @@ EXEC_PROGRAM(${ODE_CONFIG_PATH} ARGS --cflags RETURN_VALUE ODE_CONFIG_RETURN OUTPUT_VARIABLE ODE_INCLUDE_DIRS ) STRING(REGEX REPLACE "[\r\n]" " " ${ODE_INCLUDE_DIRS} "${${ODE_INCLUDE_DIRS}}") + # we want to extract -DdSINGLE or -DdDOUBLE to compile with the correct flag + STRING(REGEX REPLACE ".*-Dd([^ ]+).*" "-Dd\\1" ODE_FLAGS_OTHER "${ODE_INCLUDE_DIRS}") + EXEC_PROGRAM(${ODE_CONFIG_PATH} ARGS --libs RETURN_VALUE ODE_CONFIG_RETURN OUTPUT_VARIABLE ODE_LDFLAGS ) STRING(REGEX REPLACE "[\r\n]" " " ${ODE_LDFLAGS} "${${ODE_LDFLAGS}}") This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Playerstage-commit mailing list Playerstage-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/playerstage-commit