Revision: 6666
          http://playerstage.svn.sourceforge.net/playerstage/?rev=6666&view=rev
Author:   jeremy_asher
Date:     2008-06-23 12:04:30 -0700 (Mon, 23 Jun 2008)

Log Message:
-----------
Fixed libpng dep

Modified Paths:
--------------
    code/stage/trunk/CMakeLists.txt

Modified: code/stage/trunk/CMakeLists.txt
===================================================================
--- code/stage/trunk/CMakeLists.txt     2008-06-23 14:25:42 UTC (rev 6665)
+++ code/stage/trunk/CMakeLists.txt     2008-06-23 19:04:30 UTC (rev 6666)
@@ -28,6 +28,7 @@
 # find the easy modules
 include(FindPkgConfig)
 pkg_search_module( GLIB REQUIRED glib-2.0 )
+pkg_search_module( LIBPNG REQUIRED libpng )
 find_package( OpenGL REQUIRED )
 
 # Look for player v${MIN_PLAYER} or higher and set flags
@@ -80,14 +81,14 @@
                     libstage 
                     replace 
                     ${GLIB_INCLUDE_DIRS} 
-                    ${FLTK_INCLUDE_DIR}
+                     ${LIBPNG_INCLUDE_DIRS}
                     ${CMAKE_INCLUDE_PATH}
 )
 
 
 # all targets need these library directories
 link_directories(${GLIB_LIBRARY_DIRS}
-                ${FLTK_LIBRARY_DIRS}
+                 ${LIBPNG_LIBRARY_DIRS}
                 ${OPENGL_LIBRARY_DIRS}
 )
 


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Playerstage-commit mailing list
Playerstage-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-commit

Reply via email to