From c280ddd700a489c78f529a11dce0847271a8b7d7 Mon Sep 17 00:00:00 2001 From: "Jesse A. Tov" Date: Mon, 18 May 2020 14:47:15 -0500 Subject: [PATCH] Fixed sed command for building frontmatter. --- doc/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index 5b6dc0c..fff7414 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -24,7 +24,8 @@ set(DOXYGEN_MACRO_EXPANSION YES) set(DOXYGEN_EXPAND_ONLY_PREDEF YES) set(DOXYGEN_EXPAND_AS_DEFINED NOEXCEPT NOEXCEPT_) -execute_process(COMMAND "sed;-E;/^\\[.*\\]: *$$/,/^ *$$/d\; s/[][]//g" +SET(sed_command sed -E "/^\\[.*\\]: *$$/,/^ *$$/d\;s/[][]//g") +execute_process(COMMAND ${sed_command} INPUT_FILE ${readme_md} OUTPUT_FILE ${frontmatter_md}) file(GLOB_RECURSE ge211_srcs