Permalink
Browse files

Trying yet another variation to solve the python locale issue on macOS

Signed-off-by: Michael Jackson <mike.jackson@bluequartz.net>
  • Loading branch information...
imikejackson committed Sep 27, 2018
1 parent 1220ec5 commit 30bff8555e17259b2cae360328ff398893d64263
Showing with 2 additions and 2 deletions.
  1. +2 −2 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}" "#!${PYTHON_EXECUTABLE}\n")
file(WRITE "${MKDOCS_EXECUTABLE_SCRIPT}" "#!/Library/Frameworks/Python.framework/Versions/3.6/bin/python3\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")
@@ -189,7 +189,7 @@ if(SIMPL_USE_MKDOCS)
message(STATUS "chmod_result: ${chmod_result}")
message(STATUS "chmod_error: ${chmod_error}")
endif()
#set(MKDOCS_EXECUTABLE "${MKDOCS_EXECUTABLE_SCRIPT}")
set(MKDOCS_EXECUTABLE "${MKDOCS_EXECUTABLE_SCRIPT}")
else()
# Find Python Executable
if("${PYTHON_EXECUTABLE}" STREQUAL "")

0 comments on commit 30bff85

Please sign in to comment.