Skip to content

Commit

Permalink
Merge pull request #553 from mbernasocchi/myfix
Browse files Browse the repository at this point in the history
make cmake honor PYTHON_LIBRARY
  • Loading branch information
timlinux committed May 19, 2013
2 parents 2f9ccb5 + b3c6d38 commit aa5509b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmake/FindPythonLibrary.cmake
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 aa5509b

Please sign in to comment.