From 985ce77618c8c73c80d3fe48b122eb0bc2586629 Mon Sep 17 00:00:00 2001 From: s_alexander Date: Tue, 7 Sep 2010 06:17:13 +0000 Subject: update cmake to find newer libpng git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@2632 b956fd51-792f-4845-bead-9b4dfca2ff2c --- cmake/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmake') diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index a4e97d77..c43f2d5b 100644 --- a/cmake/CMakeLists.txt +++ b/cmake/CMakeLists.txt @@ -81,7 +81,7 @@ if(NOT WIN32) # hide SDL_image from GUI mark_as_advanced(SDLIMAGE_LIBRARY SDLIMAGE_INCLUDE_DIR) - pkg_check_required_modules(libpng libpng12) + pkg_search_module(libpng REQUIRED libpng12 libpng>=1.2) #find_package(PNG REQUIRED) pkg_check_required_modules(freetype freetype2) #find_package(Freetype REQUIRED) -- cgit v1.2.3