From e6a2daa3eb8a443c778d8d25d38d84ae1c87bc36 Mon Sep 17 00:00:00 2001 From: Luo Tao Date: Mon, 20 Mar 2017 13:14:37 +0800 Subject: [PATCH] update sphinx cmake --- cmake/FindSphinx.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/FindSphinx.cmake b/cmake/FindSphinx.cmake index 1c29cb22a3..f74cd4ff8c 100644 --- a/cmake/FindSphinx.cmake +++ b/cmake/FindSphinx.cmake @@ -72,7 +72,7 @@ function( Sphinx_add_target target_name builder conf cache source destination ) ${source} ${destination} COMMENT "Generating sphinx documentation: ${builder}" - COMMAND cd ${destination} && ln -s ./index_*.html index.html + COMMAND cd ${destination} && ln -sf ./index_*.html index.html ) set_property( -- GitLab