From c0937775c70db3cdbd1b88e179de11a88061b647 Mon Sep 17 00:00:00 2001 From: Lu Wang Date: Fri, 7 Sep 2012 13:36:32 +0800 Subject: [PATCH] better cmake for python --- CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 441b442..ec852a1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -30,8 +30,7 @@ else() endif() message("Looking for libraries of python, which is required by fontforge, if you can link fontforge without python, you may disable this") -pkg_check_modules(PYTHON python) -pkg_check_modules(PYTHON python-2.7) +pkg_search_module(PYTHON python python-2.7) set(PDF2HTMLEX_VERSION "0.3") set(ARCHIVE_NAME pdf2htmlex-${PDF2HTMLEX_VERSION})