CMake with `--warn-uninitialized -Werror=dev` identified there was a problem
here:
CMake Error (dev) at plugin/lasi/CMakeLists.txt:25 (target_include_directories):
uninitialized variable 'Freetype_INCLUDE_DIRS'
CMake Error (dev) at plugin/lasi/CMakeLists.txt:31 (target_link_libraries):
uninitialized variable 'Freetype_LIBRARIES'
Gitlab: fixes #2291
- The CMake build system no longer uses the final install location as the
staging area for example graphs and templates during `cpack`. This bug was
introduced in Graphviz 4.0.0. #2232
-- The CMake build system uses a corrected path to DevIL headers when discovered.
+- The CMake build system uses corrected paths to DevIL and FreeType headers and
+ libraries when discovered.
## [7.0.0] – 2022-10-22
target_include_directories(smyrna SYSTEM PRIVATE
${EXPAT_INCLUDE_DIRS}
${FONTCONFIG_INCLUDE_DIRS}
- ${Freetype_INCLUDE_DIRS}
+ ${FREETYPE_INCLUDE_DIRS}
${GLUT_INCLUDE_DIRS}
${GTK2_INCLUDE_DIRS}
${GTKGLEXT_INCLUDE_DIRS}
xdot
${EXPAT_LIBRARIES}
${FONTCONFIG_LIBRARIES}
- ${Freetype_LIBRARIES}
+ ${FREETYPE_LIBRARIES}
${GLUT_LIBRARIES}
${GTK2_LIBRARIES}
${GTKGLEXT_LIBRARIES}
)
target_include_directories(glcomp SYSTEM PRIVATE
- ${Freetype_INCLUDE_DIRS}
+ ${FREETYPE_INCLUDE_DIRS}
${GLUT_INCLUDE_DIRS}
${GTK2_INCLUDE_DIRS}
${PANGOCAIRO_INCLUDE_DIRS}
endif()
target_link_libraries(glcomp PRIVATE
- ${Freetype_LIBRARIES}
+ ${FREETYPE_LIBRARIES}
${GLUT_LIBRARIES}
${GTK2_LIBRARIES}
${PANGOCAIRO_LIBRARIES}
)
target_include_directories(gvplugin_lasi SYSTEM PRIVATE
- ${Freetype_INCLUDE_DIRS}
+ ${FREETYPE_INCLUDE_DIRS}
${LASI_INCLUDE_DIRS}
${PANGOCAIRO_INCLUDE_DIRS}
)
target_link_libraries(gvplugin_lasi
- ${Freetype_LIBRARIES}
+ ${FREETYPE_LIBRARIES}
${LASI_LIBRARIES}
${PANGOCAIRO_LIBRARIES}
)