aboutsummaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
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)