Skip to content

Commit 7d59e8d

Browse files
Merge pull request #22 from Tobias-Fischer/patch-5
Add dylib suffix on MacOS
2 parents a0c6cc9 + 423786d commit 7d59e8d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

backward_rosConfig.cmake.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
set_and_check(backward_ros_INCLUDE_DIRS "@PACKAGE_BACKWARD_ROS_INSTALL_PREFIX@/include")
33
if(WIN32)
44
set_and_check(backward_ros_LIBRARIES "@PACKAGE_BACKWARD_ROS_INSTALL_PREFIX@/lib/backward.lib")
5+
elseif(APPLE)
6+
set_and_check(backward_ros_LIBRARIES "@PACKAGE_BACKWARD_ROS_INSTALL_PREFIX@/lib/libbackward.dylib")
57
else()
68
set_and_check(backward_ros_LIBRARIES "@PACKAGE_BACKWARD_ROS_INSTALL_PREFIX@/lib/libbackward.so")
79
endif()

0 commit comments

Comments
 (0)