Skip to content

Commit

Permalink
Use the correct src directory for python files. Refs #5192
Browse files Browse the repository at this point in the history
  • Loading branch information
martyngigg committed Aug 17, 2012
1 parent d0de182 commit 4ccda8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Code/Mantid/Build/CMake/MantidUtils.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ function( COPY_PYTHON_FILES_TO_DIR PY_FILES SRC_DIR DEST_DIR INSTALLED_FILES )
set( _pyc_bin ${DEST_DIR}/${_basefilename}.pyc )
add_custom_command ( OUTPUT ${_py_bin} ${_pyc_bin}
DEPENDS ${SRC_DIR}/${PYFILE}
COMMAND ${PYTHON_EXECUTABLE} -m compileall -q ${SOURCE_DIR}
COMMAND ${PYTHON_EXECUTABLE} -m compileall -q ${SRC_DIR}
COMMAND ${CMAKE_COMMAND} ARGS -E copy
${_py_src} ${_py_bin}
COMMAND ${CMAKE_COMMAND} ARGS -E copy
Expand Down

0 comments on commit 4ccda8d

Please sign in to comment.