Revision: 7527
          http://playerstage.svn.sourceforge.net/playerstage/?rev=7527&view=rev
Author:   gbiggs
Date:     2009-03-17 23:48:36 +0000 (Tue, 17 Mar 2009)

Log Message:
-----------
Changed command line option for getting python version

Modified Paths:
--------------
    code/player/trunk/client_libs/libplayerc/bindings/python/CMakeLists.txt

Modified: 
code/player/trunk/client_libs/libplayerc/bindings/python/CMakeLists.txt
===================================================================
--- code/player/trunk/client_libs/libplayerc/bindings/python/CMakeLists.txt     
2009-03-17 22:21:43 UTC (rev 7526)
+++ code/player/trunk/client_libs/libplayerc/bindings/python/CMakeLists.txt     
2009-03-17 23:48:36 UTC (rev 7527)
@@ -49,7 +49,7 @@
                 GET_FILENAME_COMPONENT (playercpyInstallDir 
${PYTHON_EXECUTABLE} PATH)
             ELSE (PYTHON_OS_WIN)
                 # Get the Python version
-                EXECUTE_PROCESS (COMMAND ${PYTHON_EXECUTABLE} --version
+                EXECUTE_PROCESS (COMMAND ${PYTHON_EXECUTABLE} -V
                                  ERROR_VARIABLE pythonVersionString
                                  ERROR_STRIP_TRAILING_WHITESPACE)
                 STRING (REGEX REPLACE "^Python ([0-9]+\\.[0-9]+).*" "\\1" 
pythonVersion ${pythonVersionString})


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

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit

Reply via email to