]>
Commit | Line | Data |
---|---|---|
638a5511 AM |
1 | diff -ur avogadro-1.0.0/cmake/modules/PythonDeps.cmake avogadro-1.0.0-sip410/cmake/modules/PythonDeps.cmake |
2 | --- avogadro-1.0.0/cmake/modules/PythonDeps.cmake 2009-10-23 21:06:32.000000000 +0200 | |
3 | +++ avogadro-1.0.0-sip410/cmake/modules/PythonDeps.cmake 2010-02-10 03:03:12.000000000 +0100 | |
4 | @@ -67,6 +67,10 @@ | |
5 | message(STATUS "using sip version 4.9...") | |
6 | add_definitions( -DSIP_4_8 ) | |
7 | endif (${SIP_VERSION} MATCHES "4.9") | |
8 | + if (${SIP_VERSION} MATCHES "4.10") | |
9 | + message(STATUS "using sip version 4.10...") | |
10 | + add_definitions( -DSIP_4_8 ) | |
11 | + endif (${SIP_VERSION} MATCHES "4.10") | |
12 | else (EXISTS ${PYTHON_INCLUDE_PATH}/sip.h) | |
13 | message(STATUS "sip.h header NOT found - Python support disabled") | |
14 | # message(STATUS "debian/ubuntu: install the python-sip4-dev package.") |