Skip to content

Commit

Permalink
Revert "make cmake honor PYTHON_LIBRARY"
Browse files Browse the repository at this point in the history
This reverts commit b3c6d38.
  • Loading branch information
timlinux committed May 19, 2013
1 parent aa5509b commit cf928a5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmake/FindPythonLibrary.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@

INCLUDE(CMakeFindFrameworks)

if(EXISTS ${PYTHON_LIBRARY})
if(EXISTS PYTHON_LIBRARY)
# Already in cache, be silent
set(PYTHONLIBRARY_FOUND TRUE)
else(EXISTS ${PYTHON_LIBRARY})
else(EXISTS PYTHON_LIBRARY)

set(_custom_python_fw FALSE)
if(APPLE AND PYTHON_CUSTOM_FRAMEWORK)
Expand Down Expand Up @@ -109,4 +109,4 @@ else(EXISTS ${PYTHON_LIBRARY})
endif(PYTHONLIBRARY_FIND_REQUIRED)
endif(PYTHONLIBRARY_FOUND)

endif (EXISTS ${PYTHON_LIBRARY})
endif (EXISTS PYTHON_LIBRARY)

0 comments on commit cf928a5

Please sign in to comment.