aboutsummaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authors_alexander <s_alexander@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-09-07 06:17:13 +0000
committers_alexander <s_alexander@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-09-07 06:17:13 +0000
commit985ce77618c8c73c80d3fe48b122eb0bc2586629 (patch)
tree95a732351b8360ba34acb511a8f046f6aa9eb457 /cmake
parent2c701447a512c2d8c5bcea6fa8ced67a9f22478c (diff)
downloadusdx-985ce77618c8c73c80d3fe48b122eb0bc2586629.tar.gz
usdx-985ce77618c8c73c80d3fe48b122eb0bc2586629.tar.xz
usdx-985ce77618c8c73c80d3fe48b122eb0bc2586629.zip
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
Diffstat (limited to 'cmake')
-rw-r--r--cmake/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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)