Skip to content
Permalink
Browse files

make cmake honor PYTHON_LIBRARY

  • Loading branch information
mbernasocchi committed Apr 23, 2013
1 parent 6d046fc commit b3c6d38ffefa9db79932be234b010598a9664706
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 b3c6d38

Please sign in to comment.
You can’t perform that action at this time.