summaryrefslogtreecommitdiff
path: root/CMake
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2024-05-02 19:54:58 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2024-05-02 19:54:58 +0200
commit4a9205f2826fe3e804a02c6f382d3cdf15e90da5 (patch)
treee76e880d725a31eca7db7af5f7c2ffd7edb7868d /CMake
parent4a31d4988b9f747c3b988a5d50ce74b91e20685f (diff)
Remove commit 4a31d49 that breaks X11 build
Diffstat (limited to 'CMake')
-rw-r--r--CMake/resources.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMake/resources.cmake b/CMake/resources.cmake
index ce5ef78f2..e5d6f8c9f 100644
--- a/CMake/resources.cmake
+++ b/CMake/resources.cmake
@@ -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)