--- conky-git-a21a8f7d2.old/cmake/ConkyPlatformChecks.cmake +++ conky-git-a21a8f7d2/cmake/ConkyPlatformChecks.cmake @@ -359,7 +359,8 @@ # check for Xft if(BUILD_XFT) - if(FREETYPE_INCLUDE_DIR_freetype2) + set (FREETYPE_INCLUDE_DIR_freetype2 "__META_PRODTREE__/freetype2/include/freetype2") + if (FREETYPE_INCLUDE_DIR_freetype2) set(FREETYPE_FOUND true) set(conky_includes ${conky_includes} ${FREETYPE_INCLUDE_DIR_freetype2}) else(FREETYPE_INCLUDE_DIR_freetype2)