Skip to content

Commit

Permalink
Merge pull request RobotLocomotion#1349 from tkoolen/tk-drakeqp-lcm
Browse files Browse the repository at this point in the history
Require LCM for drakeQP
  • Loading branch information
RussTedrake committed Sep 17, 2015
2 parents c0233b1 + b096d40 commit 845f84c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drake/systems/controllers/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pods_install_pkg_config_file(drake-control-util
VERSION 0.0.1)

pods_find_pkg_config(gurobi)
if (gurobi_FOUND)
if (gurobi_FOUND AND LCM_FOUND)
include_directories (${PROJECT_SOURCE_DIR}/systems/trajectories )
include_directories (${PROJECT_SOURCE_DIR}/systems/plants )
include_directories (${PROJECT_SOURCE_DIR}/solvers )
Expand All @@ -27,7 +27,7 @@ if (gurobi_FOUND)
VERSION 0.0.1)

pods_find_pkg_config(bot2-lcmgl-client)
if (LCM_FOUND AND bot2-lcmgl-client_FOUND)
if (bot2-lcmgl-client_FOUND)
add_executable(zmpCoMObserverStateVisualizer zmpCoMObserverStateVisualizer.cpp)
pods_use_pkg_config_packages(zmpCoMObserverStateVisualizer lcm bot2-lcmgl-client)
target_link_libraries(zmpCoMObserverStateVisualizer drake_lcmtypes)
Expand Down

0 comments on commit 845f84c

Please sign in to comment.