OverviewFilesCommitsIssuesDocsReleasesPeers

opencog-cogutil commits / e0237dd

Clean up FindPython.cmake
e0237dd21568de21f3fb259fee1cb587591488d3
by Linas Vepstas <linasvepstas@gmail.com> · 2025-12-15T22:46:02.000Z

Changed files (1) +0 -13

cmake/OpenCogFindPython.cmake +0 -13
……@@ -1,19 +1,6 @@
11# ----------------------------------------------------------
22# Python and Cython
33#
4
5# ----------------------------------------------------------
6# secure_getenv
7# Without this, one gets the common cryptic python error message:
8# ImportError: No module named 'opencog'
9
10INCLUDE(CheckSymbolExists)
11CHECK_SYMBOL_EXISTS(secure_getenv "stdlib.h" HAVE_SECURE_GETENV)
12IF (HAVE_SECURE_GETENV)
13 ADD_DEFINITIONS(-DHAVE_SECURE_GETENV)
14ENDIF (HAVE_SECURE_GETENV)
15
16# ----------------------------------------------------------
174# NOTE: Python interpreter is needed for running python unit tests,
185# and for running the FindCython module.
196#