Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
adding code based on ros-perception#401
  • Loading branch information
SENAI-GilmarCorreia authored Aug 23, 2024
1 parent 066793a commit 00e1801
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cv_bridge/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,7 @@ install(TARGETS ${PROJECT_NAME}
ament_package(
CONFIG_EXTRAS "cmake/cv_bridge-extras.cmake.in"
)

if (MSVC)
target_compile_definitions(${PROJECT_NAME}_boost PRIVATE -DBOOST_PYTHON_STATIC_LIB)
endif()

0 comments on commit 00e1801

Please sign in to comment.