ARROW-65: Be less restrictive on PYTHON_LIBRARY search paths

Current CMake FindPythonLibs also uses this option instead of NO_DEFAULT_PATH.
This commit is contained in:
Uwe L. Korn committed 2016-03-27 14:01:33 +02:00
1 parent d3cb6b47fd
commit 10eb9e0590
1 file changed
+1 -1
+1 -1
View File
@@ -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()