| Server IP : 82.208.35.60 / Your IP : 216.73.217.116 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/textproc/zorba/files/ |
Upload File : |
--- swig/python/CMakeLists.txt.orig 2012-06-21 09:58:01.000000000 +0200
+++ swig/python/CMakeLists.txt 2012-06-21 09:58:39.000000000 +0200
@@ -12,6 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
+IF (WITH_PYTHON)
+
IF (PYTHON_LIBRARIES AND PYTHON_INCLUDE_PATH)
MESSAGE (STATUS "SWIG: Generating Python API")
@@ -46,7 +48,7 @@
FILES
${CMAKE_CURRENT_BINARY_DIR}/zorba_api.py
${CMAKE_CURRENT_BINARY_DIR}/_zorba_api.so
- DESTINATION ${PYTHON_INSTALL_PATH}
+ DESTINATION ${PYTHON_SWIG_INSTALL_DIR}
)
ELSE(NOT WIN32)
INSTALL ( FILES
@@ -60,3 +62,5 @@
ELSE (PYTHON_LIBRARIES AND PYTHON_INCLUDE_PATH)
MESSAGE (STATUS "SWIG: Python binding not generated because library and include files are not installed.")
ENDIF (PYTHON_LIBRARIES AND PYTHON_INCLUDE_PATH)
+
+ENDIF (WITH_PYTHON)