Skip to content

Commit a889c5f

Browse files
authored
Merge pull request RobotLocomotion#19 from genemerewether/cmake-gtk_gthread_fix
Typo in GDKX header; missing gthread-2.0
2 parents 6d932c8 + 74cac36 commit a889c5f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ endif()
2525
# Look for the gdkx.h header to decide whether the local gtk2 install has
2626
# X11 support or not.
2727
find_file(GDKX_HEADER gdkx.h PATH_SUFFIXES gtk-2.0/gdk)
28-
if(GDKXHEADER)
28+
if(GDKX_HEADER)
2929
set(bot_vis_default ON)
3030
message(STATUS "gdkx.h found, system appears to have gtk+X11 support")
3131
else()

bot2-vis/src/bot_vis/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ endif(APPLE)
2121

2222
target_link_libraries(bot2-vis ${REQUIRED_LIBS})
2323

24-
set(REQUIRED_PACKAGES glib-2.0 gtk+-2.0 gdk-pixbuf-2.0 lcm bot2-core libpng gl glu)
24+
set(REQUIRED_PACKAGES glib-2.0 gtk+-2.0 gdk-pixbuf-2.0 lcm bot2-core libpng gl glu gthread-2.0)
2525
pods_use_pkg_config_packages(bot2-vis ${REQUIRED_PACKAGES})
2626

2727
# set the library API version. Increment this every time the public API

0 commit comments

Comments
 (0)