Skip to content

Commit

Permalink
use OPENGL_FOUND instead of OpenGL_FOUND for old CMake
Browse files Browse the repository at this point in the history
Co-authored-by: Naoki Hiraoka <[email protected]>
  • Loading branch information
k-okada and Naoki-Hiraoka authored Jul 25, 2022
1 parent 9f71c57 commit d2c5432
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ if(PCL_FOUND)
endif()

if(FORCE_COMPILE_HRPSYSUTIL AND (NOT USE_HRPSYSUTIL))
message(FATAL_ERROR "dependencies required to build hrpsysUtil is not found : SDL_FOUND: ${SDL_FOUND} / OpenGL_FOUND: ${OpenGL_FOUND} / GLUT_FOUND: ${GLUT_FOUND} / OpenCV_FOUND: ${OpenCV_FOUND} / GLEW_FOUND: ${GLEW_FOUND}")
message(FATAL_ERROR "dependencies required to build hrpsysUtil is not found : SDL_FOUND: ${SDL_FOUND} / OPENGL_FOUND: ${OPENGL_FOUND} / GLUT_FOUND: ${GLUT_FOUND} / OpenCV_FOUND: ${OpenCV_FOUND} / GLEW_FOUND: ${GLEW_FOUND}")
endif()

execute_process(
Expand Down

0 comments on commit d2c5432

Please sign in to comment.