The newer `GLUT_INCLUDE_DIRS` is only provided in CMake ≥ 3.23. Most users and
most of our CI environments are on a version of CMake prior to this and so get
the following when configuring with `--warn-uninitialized -Werror=dev`:
CMake Error (dev) at cmd/smyrna/CMakeLists.txt:87 (target_include_directories):
uninitialized variable 'GLUT_INCLUDE_DIRS'
Gitlab: #2291
${EXPAT_INCLUDE_DIRS}
${FONTCONFIG_INCLUDE_DIRS}
${FREETYPE_INCLUDE_DIRS}
- ${GLUT_INCLUDE_DIRS}
+ ${GLUT_INCLUDE_DIR}
${GTK2_INCLUDE_DIRS}
${GTKGLEXT_INCLUDE_DIRS}
${GTS_INCLUDE_DIRS}
target_include_directories(glcomp SYSTEM PRIVATE
${FREETYPE_INCLUDE_DIRS}
- ${GLUT_INCLUDE_DIRS}
+ ${GLUT_INCLUDE_DIR}
${GTK2_INCLUDE_DIRS}
${PANGOCAIRO_INCLUDE_DIRS}
${XRENDER_INCLUDE_DIRS}