Skip to content

Commit

Permalink
Fix interface link libraries in ogre vendor (#761) (#880)
Browse files Browse the repository at this point in the history
Co-authored-by: Laszlo Turanyi <[email protected]>

Co-authored-by: Laszlo Turanyi <[email protected]>
Co-authored-by: Laszlo Turanyi <[email protected]>
  • Loading branch information
3 people authored Sep 12, 2022
1 parent 1211b17 commit 03c02d0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rviz_ogre_vendor/rviz_ogre_vendor-extras.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,9 @@ foreach(_lib IN LISTS OGRE_LIBRARIES)
if(APPLE)
list(APPEND _extra_interface_link_libraries "-framework Cocoa")
endif()
set_target_properties(rviz_ogre_vendor::OgreMain
PROPERTIES
"INTERFACE_LINK_LIBRARIES" "${_extra_interface_link_libraries}"
target_link_libraries(rviz_ogre_vendor::OgreMain
INTERFACE
${_extra_interface_link_libraries}
)
endif()
if("OgreOverlayStatic" STREQUAL ${_lib} OR "OgreOverlay" STREQUAL ${_lib})
Expand Down

0 comments on commit 03c02d0

Please sign in to comment.