What is the best method to include a prebuilt library to a cmake project? I want to include FreeType into the project I am working on and the file structure is like this:
- Build
- MacOS
- Make/
- XCode/
- Windows
- VisualStudio/
- Source
- libs
- MacOS
- libfreetype
- Windows
- freetype.dll
- includes
- freetype/ (Various header files that are included automatically by ftbuild.h)
- ftbuild.h (this is what is included in code from my understanding.)
- MyProject
- main.cpp
- foo.cpp
- foo.h
The library is already compiled. MyProject is the name of the current project.
Thanks! Mike