kestred 12 years ago
parent
commit
1a75d28f9a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dtool/Configure.cmake

+ 1 - 1
dtool/Configure.cmake

@@ -54,8 +54,8 @@ endif()
 
 
 
 
 # Check for and configure PNG library
 # Check for and configure PNG library
-find_package(PNG QUIET COMPONENTS png)
 # Mangle the builtin FindPNG output to match Panda3D's config-style
 # Mangle the builtin FindPNG output to match Panda3D's config-style
+find_package(PNG QUIET COMPONENTS png)
 include(ManglePNG)
 include(ManglePNG)
 if(HAVE_PNG)
 if(HAVE_PNG)
     message(STATUS "+ libpng")
     message(STATUS "+ libpng")