aboutsummaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorGravatar Gary Wang <wzc782970009@gmail.com> 2019-06-15 15:21:32 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2019-06-15 20:58:10 +0800
commit591c44b9a1a6e0a803b6d8af9e35aa8552b421c0 (patch)
tree8d422a4888c4371b0960bcdd5665d99b6f43b27a /extensions
parent747c0db7910414d2797e38b5a00efbdb0c5ee6a1 (diff)
downloadSMELT-591c44b9a1a6e0a803b6d8af9e35aa8552b421c0.tar.xz
DevIL support
Diffstat (limited to 'extensions')
-rw-r--r--extensions/CMakeLists.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/extensions/CMakeLists.txt b/extensions/CMakeLists.txt
index 2c265ad..8bc51e8 100644
--- a/extensions/CMakeLists.txt
+++ b/extensions/CMakeLists.txt
@@ -1,10 +1,11 @@
find_package(Freetype REQUIRED)
-file (GLOB SMELTTEXT_CPP_FILES "*.cpp")
+file (GLOB SMELTEXT_CPP_FILES "*.cpp")
include_directories(
${FREETYPE_INCLUDE_DIRS}
- ${CMAKE_CURRENT_SOURCE_DIR}/../include
)
-add_library(smelttext STATIC ${SMELTTEXT_CPP_FILES})
+add_library(smeltext STATIC ${SMELTEXT_CPP_FILES})
+
+target_link_libraries(smeltext smelt)