Hello,
I cloned this repo, and inorder to build in requires another external library. I go to the folder and execute the command:
cmake -S . -B build/ -G Ninja
but it returns:
CMake Error at C:/Program Files/CMake/share/cmake-
3.15/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find Freetype (missing: FREETYPE_LIBRARY FREETYPE_INCLUDE_DIRS).
I assumed I just had to set up manually the freetype variables, so I did:
cmake -DBUILD_SHARED_LIBS=OFF -
DFREETYPE_INCLUDE_DIR_freetype2=%ROOT_DIR%/external/freetype/include/freetype -
DFREETYPE_INCLUDE_DIR_ft2build=%ROOT_DIR%/external/freetype/include -
DFREETYPE_LIBRARY_RELEASE=%ROOT_DIR%/external/freetype/build/freetyped.lib -S . -B build/ -G Ninja
but still getting the same error.
how do make cmake to find the packages using the command line?
Thanks in advance