mirror of
https://github.com/lubosz/overte.git
synced 2025-08-07 18:41:10 +02:00
alt method for repressing unused var warnings
This commit is contained in:
parent
9eb4d66327
commit
51cc9d6d9a
2 changed files with 1 additions and 4 deletions
|
@ -10,4 +10,5 @@
|
||||||
macro(INCLUDE_BULLET)
|
macro(INCLUDE_BULLET)
|
||||||
find_package(Bullet REQUIRED)
|
find_package(Bullet REQUIRED)
|
||||||
include_directories("${BULLET_INCLUDE_DIRS}")
|
include_directories("${BULLET_INCLUDE_DIRS}")
|
||||||
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -isystem ${BULLET_INCLUDE_DIRS}")
|
||||||
endmacro(INCLUDE_BULLET)
|
endmacro(INCLUDE_BULLET)
|
||||||
|
|
|
@ -32,8 +32,4 @@ inline btQuaternion glmToBullet(const glm::quat& g) {
|
||||||
return btQuaternion(g.x, g.y, g.z, g.w);
|
return btQuaternion(g.x, g.y, g.z, g.w);
|
||||||
}
|
}
|
||||||
|
|
||||||
inline bool avoidUnusedVariableWarningInBulletHeaders(float number) {
|
|
||||||
return number == BT_INFINITY;
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif // hifi_BulletUtil_h
|
#endif // hifi_BulletUtil_h
|
||||||
|
|
Loading…
Reference in a new issue