alt method for repressing unused var warnings

This commit is contained in:
Andrew Meadows 2015-01-15 10:46:09 -08:00
parent 9eb4d66327
commit 51cc9d6d9a
2 changed files with 1 additions and 4 deletions

View file

@ -10,4 +10,5 @@
macro(INCLUDE_BULLET)
find_package(Bullet REQUIRED)
include_directories("${BULLET_INCLUDE_DIRS}")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -isystem ${BULLET_INCLUDE_DIRS}")
endmacro(INCLUDE_BULLET)

View file

@ -32,8 +32,4 @@ inline btQuaternion glmToBullet(const glm::quat& g) {
return btQuaternion(g.x, g.y, g.z, g.w);
}
inline bool avoidUnusedVariableWarningInBulletHeaders(float number) {
return number == BT_INFINITY;
}
#endif // hifi_BulletUtil_h