czaloj / bullet

Automatically exported from code.google.com/p/bullet
0 stars 0 forks source link

BulletSoftBody uses CMake 2.6 only syntax but Cmake 2.4 is stated as the required #130

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
working against r1454
bullet$ cat CMakeLists.txt
cmake_minimum_required(VERSION 2.4)
...

bullet$ cmake --version
cmake version 2.4-patch 6
bullet/src/BulletSoftBody$ make

touch rospack_nosubdirs
cd bullet_svn && cmake .
OPENGL FOUND
/usr/lib/libGLU.so/usr/lib/libGL.so-lSM-lICE/usr/lib/libX11.so/usr/lib/libXext.s
o
GLUT FOUND
/usr/lib/libglut.so
CMake Error: Error in cmake code at
/u/tfoote/pkg-ros/3rdparty/bullet/bullet_svn/src/BulletSoftBody/CMakeLists.txt:3
1:
INSTALL DIRECTORY given unknown argument "FILES_MATCHING".
Current CMake stack:
/u/tfoote/pkg-ros/3rdparty/bullet/bullet_svn/src/BulletSoftBody/CMakeLists.txt
CMake Error: Error in cmake code at
/u/tfoote/pkg-ros/3rdparty/bullet/bullet_svn/src/BulletCollision/CMakeLists.txt:
189:
INSTALL DIRECTORY given unknown argument "FILES_MATCHING".
Current CMake stack:
/u/tfoote/pkg-ros/3rdparty/bullet/bullet_svn/src/BulletCollision/CMakeLists.txt
CMake Error: Error in cmake code at
/u/tfoote/pkg-ros/3rdparty/bullet/bullet_svn/src/BulletDynamics/CMakeLists.txt:4
9:
INSTALL DIRECTORY given unknown argument "FILES_MATCHING".
Current CMake stack:
/u/tfoote/pkg-ros/3rdparty/bullet/bullet_svn/src/BulletDynamics/CMakeLists.txt
CMake Error: Error in cmake code at
/u/tfoote/pkg-ros/3rdparty/bullet/bullet_svn/src/LinearMath/CMakeLists.txt:42:
INSTALL DIRECTORY given unknown argument "FILES_MATCHING".
Current CMake stack:
/u/tfoote/pkg-ros/3rdparty/bullet/bullet_svn/src/LinearMath/CMakeLists.txt
-- Configuring done
make: *** [build] Error 255

The FILES_MATCHING is a new syntax in 2.6
It works fine if I use 2.6

Original issue reported on code.google.com by Tully.Foote on 4 Nov 2008 at 9:04

GoogleCodeExporter commented 9 years ago

Good point. We want to keep compatibility with CMake 2.4 for regular build.

So now there is a version check around the INSTALL features:
http://code.google.com/p/bullet/source/detail?r=1456

Thanks a lot for the report!

Original comment by erwin.coumans on 5 Nov 2008 at 2:34

GoogleCodeExporter commented 9 years ago

Original comment by erwin.coumans on 5 Nov 2008 at 2:34