From 10eb9e05906e31bca82788dcac913583a5bad61b Mon Sep 17 00:00:00 2001 From: "Uwe L. Korn" Date: Sun, 27 Mar 2016 14:01:25 +0200 Subject: [PATCH] ARROW-65: Be less restrictive on PYTHON_LIBRARY search paths Current CMake FindPythonLibs also uses this option instead of NO_DEFAULT_PATH. --- python/cmake_modules/FindPythonLibsNew.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/cmake_modules/FindPythonLibsNew.cmake b/python/cmake_modules/FindPythonLibsNew.cmake index c70e6bc26a719..0f2295aa43bc1 100644 --- a/python/cmake_modules/FindPythonLibsNew.cmake +++ b/python/cmake_modules/FindPythonLibsNew.cmake @@ -166,7 +166,7 @@ else() find_library(PYTHON_LIBRARY NAMES "python${PYTHON_LIBRARY_SUFFIX}" PATHS ${_PYTHON_LIBS_SEARCH} - NO_DEFAULT_PATH) + NO_SYSTEM_ENVIRONMENT_PATH) message(STATUS "Found Python lib ${PYTHON_LIBRARY}") endif()