diff --git a/CMakeLists.txt b/CMakeLists.txt index 8ec48a8..386801d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -25,7 +25,7 @@ endif() # Look for the gdkx.h header to decide whether the local gtk2 install has # X11 support or not. find_file(GDKX_HEADER gdkx.h PATH_SUFFIXES gtk-2.0/gdk) -if(GDKXHEADER) +if(GDKX_HEADER) set(bot_vis_default ON) message(STATUS "gdkx.h found, system appears to have gtk+X11 support") else() diff --git a/bot2-vis/src/bot_vis/CMakeLists.txt b/bot2-vis/src/bot_vis/CMakeLists.txt index 803c3f2..d14b0a9 100644 --- a/bot2-vis/src/bot_vis/CMakeLists.txt +++ b/bot2-vis/src/bot_vis/CMakeLists.txt @@ -21,7 +21,7 @@ endif(APPLE) target_link_libraries(bot2-vis ${REQUIRED_LIBS}) -set(REQUIRED_PACKAGES glib-2.0 gtk+-2.0 gdk-pixbuf-2.0 lcm bot2-core libpng gl glu) +set(REQUIRED_PACKAGES glib-2.0 gtk+-2.0 gdk-pixbuf-2.0 lcm bot2-core libpng gl glu gthread-2.0) pods_use_pkg_config_packages(bot2-vis ${REQUIRED_PACKAGES}) # set the library API version. Increment this every time the public API