mirror of
https://github.com/introlab/rtabmap.git
synced 2026-10-13 05:19:51 +08:00
fixing M_PI not defined in tests
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
// M_PI on MSVC (must come before any header including <cmath>)
|
||||
#ifndef _USE_MATH_DEFINES
|
||||
#define _USE_MATH_DEFINES
|
||||
#endif
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include <cmath>
|
||||
|
||||
Reference in New Issue
Block a user