Zebrafish
Zebrafish

Reputation: 14252

Could NOT find Freetype (missing: FREETYPE_LIBRARY) on Cmake

I am trying build the Chlumsky msdfgen library on Windows and I'm using Cmake GUI. No matter what I do I can't get Cmake to configure properly. This library has Freetype as a dependency, and I set the include directories for Freetype, but I constantly get a message that it was not able to find Freetype. How does it know where to look for the Freetype libraries?

CMake Error at C:/Program Files/CMake/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find Freetype (missing: FREETYPE_LIBRARY) (found version "2.12.1")

Upvotes: 1

Views: 524

Answers (1)

user21486546
user21486546

Reputation: 1

You need to use vcpkg with cmake and it will work

Upvotes: 0

Related Questions