2017-09-04 05:34:47 +08:00
|
|
|
diff --git a/urdf_parser/CMakeLists.txt b/urdf_parser/CMakeLists.txt
|
2022-08-06 14:09:54 +08:00
|
|
|
index ac7c079..67f175d 100644
|
2017-09-04 05:34:47 +08:00
|
|
|
--- a/urdf_parser/CMakeLists.txt
|
|
|
|
+++ b/urdf_parser/CMakeLists.txt
|
2022-08-06 14:09:54 +08:00
|
|
|
@@ -23,6 +23,10 @@ macro(add_urdfdom_library)
|
|
|
|
SOVERSION ${URDF_MAJOR_MINOR_VERSION})
|
|
|
|
endmacro()
|
2017-09-04 05:34:47 +08:00
|
|
|
|
|
|
|
+if(MSVC)
|
2022-08-06 14:09:54 +08:00
|
|
|
+ add_definitions(-D_USE_MATH_DEFINES)
|
2017-09-04 05:34:47 +08:00
|
|
|
+endif()
|
|
|
|
+
|
2022-08-06 14:09:54 +08:00
|
|
|
if(TARGET console_bridge::console_bridge)
|
|
|
|
set(console_bridge_link_libs "console_bridge::console_bridge")
|
|
|
|
else()
|