Remove commit 4a31d49 that breaks X11 build

This commit is contained in:
ManoloFLTK 2024-05-02 19:54:58 +02:00
parent 4a31d4988b
commit 4a9205f282
1 changed files with 2 additions and 2 deletions

View File

@ -137,9 +137,9 @@ endif(NOT HAVE_DIRENT_H)
find_path(FREETYPE_PATH freetype.h PATH_SUFFIXES freetype2)
find_path(FREETYPE_PATH freetype/freetype.h PATH_SUFFIXES freetype2)
if(FREETYPE_PATH AND FLTK_BACKEND_X11)
if(FREETYPE_PATH)
list(APPEND FLTK_BUILD_INCLUDE_DIRECTORIES ${FREETYPE_PATH})
endif(FREETYPE_PATH AND FLTK_BACKEND_X11)
endif(FREETYPE_PATH)
mark_as_advanced(FREETYPE_PATH)