-
-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8635f12
commit 7922744
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index c352f670..40f28c35 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -10,7 +10,8 @@ catkin_package( | ||
|
||
include_directories(include ${catkin_INCLUDE_DIRS}) | ||
|
||
-find_package(Qt5Widgets REQUIRED) | ||
+find_package(Qt5 COMPONENTS Widgets REQUIRED) | ||
+find_package(Boost COMPONENTS filesystem REQUIRED) | ||
|
||
SET(rqt_gui_cpp_SRCS | ||
src/rqt_gui_cpp/nodelet_plugin_provider.cpp | ||
@@ -24,7 +25,7 @@ set(rqt_gui_cpp_HDRS | ||
qt5_wrap_cpp(rqt_gui_cpp_MOCS ${rqt_gui_cpp_HDRS}) | ||
|
||
add_library(${PROJECT_NAME} ${rqt_gui_cpp_SRCS} ${rqt_gui_cpp_MOCS}) | ||
-target_link_libraries(${PROJECT_NAME} ${catkin_LIBRARIES} Qt5::Widgets) | ||
+target_link_libraries(${PROJECT_NAME} ${catkin_LIBRARIES} Qt5::Widgets ${Boost_LIBRARIES}) | ||
|
||
if(APPLE) | ||
set_target_properties(${PROJECT_NAME} PROPERTIES LINK_FLAGS "-undefined dynamic_lookup") |