Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion urdf_parser/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ macro(add_urdfdom_library)
endif()
set_target_properties(${add_urdfdom_library_LIBNAME} PROPERTIES
DEFINE_SYMBOL URDFDOM_EXPORTS
SOVERSION ${URDF_MAJOR_MINOR_VERSION})
SOVERSION ${URDF_MAJOR_VERSION})
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
SOVERSION ${URDF_MAJOR_VERSION})
VERSION ${URDF_MAJOR_MINOR_VERSION}
SOVERSION ${URDF_MAJOR_VERSION})

Should we also use the VERSION for the target?

https://cmake.org/cmake/help/latest/prop_tgt/SOVERSION.html

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what do you think @j-rivero?

endmacro()

if(TARGET console_bridge::console_bridge)
Expand Down