From 68caee5c2b57f8a80f7d5159d6bed632d22297bf Mon Sep 17 00:00:00 2001 From: Robert Hauck Date: Wed, 11 Feb 2015 13:48:59 +0100 Subject: [PATCH] fix for linux build (Fedora 21) --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2ce5400c..3834f2a1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,6 +4,10 @@ project(nana) cmake_minimum_required(VERSION 2.8) +#find dependencies +if(UNIX) + find_package(Freetype) +endif() option(NANA_ENABLE_PNG "Enable the use of PNG" ON) if(NANA_ENABLE_PNG)