File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -57,13 +57,19 @@ list(APPEND shiboken_include_dirs
57
57
${tf2_msgs_INCLUDE_DIRS}
58
58
${pluginlib_INCLUDE_DIRS}
59
59
)
60
+ if (WIN32 )
61
+ list (APPEND shiboken_include_dirs
62
+ ${console_bridge_INCLUDE_DIRS}
63
+ )
64
+ endif ()
60
65
message (STATUS "ROS inlcude dirs: ${shiboken_include_dirs} " )
61
66
message (STATUS "QT5 inlcude dirs: ${Qt5Core_INCLUDE_DIRS} ${Qt5Widgets_INCLUDE_DIRS} ${Qt5Gui_INCLUDE_DIRS} " )
62
67
list (APPEND shiboken_include_dirs
63
68
${Qt5Core_INCLUDE_DIRS} ${Qt5Widgets_INCLUDE_DIRS} ${Qt5Gui_INCLUDE_DIRS}
64
69
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR} /include >
65
70
$<INSTALL_INTERFACE:include >
66
71
)
72
+ cmake_path(SET shiboken_include_dirs NORMALIZE "${shiboken_include_dirs} " )
67
73
68
74
add_library (rviz_python SHARED
69
75
src/visualizer_frame_py.cpp
@@ -72,7 +78,9 @@ add_library(rviz_python SHARED
72
78
target_include_directories (rviz_python PUBLIC
73
79
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR} /include >
74
80
$<INSTALL_INTERFACE:include >)
75
- target_compile_options (rviz_python PUBLIC -Wl,--no -undefined)
81
+ if (NOT WIN32 )
82
+ target_compile_options (rviz_python PUBLIC -Wl,--no -undefined)
83
+ endif ()
76
84
ament_target_dependencies(rviz_python
77
85
rviz_common
78
86
Qt5
You can’t perform that action at this time.
0 commit comments