Skip to content

Commit

Permalink
Fix build without OpenGL
Browse files Browse the repository at this point in the history
Relates #711
  • Loading branch information
RainerKuemmerle committed Aug 12, 2023
1 parent 100ca0b commit 6eb0519
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion g2o/apps/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
add_subdirectory(g2o_cli)

if (G2O_HAVE_OPENGL AND G2O_BUILD_SLAM2D_TYPES AND G2O_BUILD_SLAM3D_TYPES)
if (G2O_BUILD_SLAM2D_TYPES AND G2O_BUILD_SLAM3D_TYPES)
add_subdirectory(g2o_simulator)
endif()

Expand Down

0 comments on commit 6eb0519

Please sign in to comment.