提交 0fe57572 编写于 作者: A Atri Bhattacharya 提交者: Julien Schueller

Use OCTAVE_HOME to determine octave root dir.

The keyword PREFIX is no longer supported by octave-config and
OCTAVE_HOME is to be used in its stead. See
https://hg.savannah.gnu.org/hgweb/octave/rev/b95c430c0649
上级 13cb4a7e
......@@ -68,7 +68,7 @@ find_program(OCTAVE_CONFIG_EXECUTABLE
if (OCTAVE_CONFIG_EXECUTABLE)
execute_process (COMMAND ${OCTAVE_CONFIG_EXECUTABLE} -p PREFIX
execute_process (COMMAND ${OCTAVE_CONFIG_EXECUTABLE} -p OCTAVE_HOME
OUTPUT_VARIABLE OCTAVE_ROOT_DIR
OUTPUT_STRIP_TRAILING_WHITESPACE)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册