Commit 9e2c6b06 authored by Peter Eastman's avatar Peter Eastman
Browse files

Ensure that PYTHON_EXECUTABLE is visible to all CMake scripts

parent feb0368f
...@@ -14,6 +14,8 @@ ...@@ -14,6 +14,8 @@
# libOpenMM_static[_d].a # libOpenMM_static[_d].a
#---------------------------------------------------- #----------------------------------------------------
find_program(PYTHON_EXECUTABLE NAMES python)
# Don't create a new project name if this is part of a mega-build from the # Don't create a new project name if this is part of a mega-build from the
# parent directory # parent directory
IF( NOT PROJECT_NAME ) IF( NOT PROJECT_NAME )
......
find_program(PYTHON_EXECUTABLE NAMES python)
############################################# #############################################
### Copy all source files to staging area ### ### Copy all source files to staging area ###
############################################# #############################################
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment