Author: aschnell Date: Mon Jul 23 18:27:53 2007 New Revision: 6162 URL: http://svn.opensuse.org/viewcvs/zypp?rev=6162&view=rev Log: - moved ruby/python detection to appropriate subdirs Modified: trunk/libzypp-bindings/CMakeLists.txt trunk/libzypp-bindings/swig/python/CMakeLists.txt trunk/libzypp-bindings/swig/ruby/CMakeLists.txt Modified: trunk/libzypp-bindings/CMakeLists.txt URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp-bindings/CMakeLists.txt?rev=6162&r1=6161&r2=6162&view=diff ============================================================================== --- trunk/libzypp-bindings/CMakeLists.txt (original) +++ trunk/libzypp-bindings/CMakeLists.txt Mon Jul 23 18:27:53 2007 @@ -47,10 +47,6 @@ ENDIF ( NOT SWIG_EXECUTABLE ) FIND_PACKAGE(Zypp REQUIRED) -FIND_PACKAGE(Ruby REQUIRED) - -#RUBY_RUBY_LIB_PATH -MESSAGE( STATUS "Ruby arch dir: ${RUBY_ARCH_DIR}" ) ADD_SUBDIRECTORY(swig) Modified: trunk/libzypp-bindings/swig/python/CMakeLists.txt URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp-bindings/swig/python/CMakeLists.txt?rev=6162&r1=6161&r2=6162&view=diff ============================================================================== --- trunk/libzypp-bindings/swig/python/CMakeLists.txt (original) +++ trunk/libzypp-bindings/swig/python/CMakeLists.txt Mon Jul 23 18:27:53 2007 @@ -1,4 +1,7 @@ +FIND_PACKAGE(PythonLibs REQUIRED) +MESSAGE( STATUS "Python include path: ${PYTHON_INCLUDE_PATH}" ) + SET( SWIG_OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/zypp_wrap.cxx" ) SET( SWIG_INPUT "${CMAKE_CURRENT_SOURCE_DIR}/zypp.i" ) Modified: trunk/libzypp-bindings/swig/ruby/CMakeLists.txt URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp-bindings/swig/ruby/CMakeLists.txt?rev=6162&r1=6161&r2=6162&view=diff ============================================================================== --- trunk/libzypp-bindings/swig/ruby/CMakeLists.txt (original) +++ trunk/libzypp-bindings/swig/ruby/CMakeLists.txt Mon Jul 23 18:27:53 2007 @@ -1,4 +1,8 @@ +FIND_PACKAGE(Ruby REQUIRED) +MESSAGE( STATUS "Ruby arch dir: ${RUBY_ARCH_DIR}" ) +MESSAGE( STATUS "Ruby include path: ${RUBY_INCLUDE_PATH}" ) + SET( SWIG_OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/zypp_wrap.cxx" ) SET( SWIG_INPUT "${CMAKE_CURRENT_SOURCE_DIR}/zypp.i" ) -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org