diff options
author | Gary Wang <wzc782970009@gmail.com> | 2019-06-02 01:22:18 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2019-06-15 20:58:10 +0800 |
commit | 747c0db7910414d2797e38b5a00efbdb0c5ee6a1 (patch) | |
tree | f003595d63aa2f5b7191e4587bc770f99d760c3a /extensions | |
parent | 2da6a4aec9a249417a9e4c0106ab6bec0489a36f (diff) | |
download | SMELT-747c0db7910414d2797e38b5a00efbdb0c5ee6a1.tar.xz |
Basic CMake support
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/CMakeLists.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/extensions/CMakeLists.txt b/extensions/CMakeLists.txt new file mode 100644 index 0000000..2c265ad --- /dev/null +++ b/extensions/CMakeLists.txt @@ -0,0 +1,10 @@ +find_package(Freetype REQUIRED) + +file (GLOB SMELTTEXT_CPP_FILES "*.cpp") + +include_directories( + ${FREETYPE_INCLUDE_DIRS} + ${CMAKE_CURRENT_SOURCE_DIR}/../include +) + +add_library(smelttext STATIC ${SMELTTEXT_CPP_FILES}) |