From 747c0db7910414d2797e38b5a00efbdb0c5ee6a1 Mon Sep 17 00:00:00 2001 From: Gary Wang Date: Sun, 2 Jun 2019 01:22:18 +0800 Subject: Basic CMake support --- extensions/CMakeLists.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 extensions/CMakeLists.txt (limited to 'extensions') 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}) -- cgit v1.2.3