diff --git a/cmake/modules/SearchInstalledSoftware.cmake b/cmake/modules/SearchInstalledSoftware.cmake index f1cd96f7daa23e3522c7a9f7ec2c1496afee96ed..3295c9c319a6f23300f1e570ecb1e21e01289949 100644 --- a/cmake/modules/SearchInstalledSoftware.cmake +++ b/cmake/modules/SearchInstalledSoftware.cmake @@ -103,7 +103,7 @@ if(BORNAGAIN_PYTHON OR BORNAGAIN_GUI) endif() if(NOT ${PYTHON_VERSION_STRING} STREQUAL ${PYTHONLIBS_VERSION_STRING}) - message(SEND_ERROR "Python interpreter version ${PYTHON_VERSION_STRING} doesn't match ${PYTHONLIBS_VERSION_STRING}") + message(WARNING "Seems that Python interpreter version ${PYTHON_VERSION_STRING} doesn't match version of Python library ${PYTHONLIBS_VERSION_STRING}") endif() if(NOT WIN32)