Skip to content
Permalink
Browse files

Merge pull request #553 from mbernasocchi/myfix

make cmake honor PYTHON_LIBRARY
  • Loading branch information
timlinux committed May 19, 2013
2 parents 2f9ccb5 + b3c6d38 commit aa5509b2f916c30fc1b0c7b8a898a7c0e435b55a
Showing with 3 additions and 3 deletions.
  1. +3 −3 cmake/FindPythonLibrary.cmake
@@ -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)
@@ -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.
You can’t perform that action at this time.