Permalink
Browse files

One more try using the built in Python 2.7 on macOS. Which is like a …

…revert.

Signed-off-by: Michael Jackson <mike.jackson@bluequartz.net>
  • Loading branch information...
imikejackson committed Sep 27, 2018
1 parent 30bff85 commit 5138e734df557e0e37f12f90e6530072791d5665
Showing with 2 additions and 1 deletion.
  1. +2 −1 Documentation/ReferenceManual/CMakeLists.txt
@@ -167,7 +167,7 @@ if(SIMPL_USE_MKDOCS)
if(APPLE)
set(MKDOCS_EXECUTABLE_SCRIPT "${DREAM3DDocRoot}/ReferenceManual/mkdocs")
file(WRITE "${MKDOCS_EXECUTABLE_SCRIPT}" "#!/Library/Frameworks/Python.framework/Versions/3.6/bin/python3\n")
file(WRITE "${MKDOCS_EXECUTABLE_SCRIPT}" "#!/usr/bin/python\n")
file(APPEND "${MKDOCS_EXECUTABLE_SCRIPT}" "# -*- coding: utf-8 -*-\n")
file(APPEND "${MKDOCS_EXECUTABLE_SCRIPT}" "# This script is generated automatically from CMake for macOS systems to get the encoding correct.\n")
file(APPEND "${MKDOCS_EXECUTABLE_SCRIPT}" "# Generated in code from ${CMAKE_CURRENT_LIST_FILE}\n")
@@ -190,6 +190,7 @@ if(SIMPL_USE_MKDOCS)
message(STATUS "chmod_error: ${chmod_error}")
endif()
set(MKDOCS_EXECUTABLE "${MKDOCS_EXECUTABLE_SCRIPT}")
message(STATUS "MKDOCS_EXECUTABLE_SCRIPT: ${MKDOCS_EXECUTABLE_SCRIPT}")
else()
# Find Python Executable
if("${PYTHON_EXECUTABLE}" STREQUAL "")

0 comments on commit 5138e73

Please sign in to comment.