if (!GLUT_ROOT_PATH)
  set(GLUT_ROOT_PATH "$ENV{GLUT_ROOT_PATH}")
endif()

add_subdirectory(SimpleDepthViewer-GL)
add_subdirectory(SimpleColorViewer-GL)

if (NOT DEFINED GLUT_ROOT_PATH)
  set(GLUT_ROOT_PATH "$ENV{GLUT_ROOT_PATH}")
endif()

add_subdirectory(SimpleDepthViewer-GL)
add_subdirectory(SimpleColorViewer-GL)

Fix existence check for GLUT_ROOT_PATH
Fix existence check for GLUT_ROOT_PATH
