From 591c44b9a1a6e0a803b6d8af9e35aa8552b421c0 Mon Sep 17 00:00:00 2001 From: Gary Wang Date: Sat, 15 Jun 2019 15:21:32 +0800 Subject: DevIL support --- extensions/CMakeLists.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'extensions') 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) -- cgit v1.2.3