From be23c4ddd9fb962ecc5f99f71ecdfa48be56ea67 Mon Sep 17 00:00:00 2001 From: Phillip Mienk Date: Wed, 30 Sep 2026 20:55:10 -0700 Subject: [PATCH] Correct cmake syntax error related to boolean evluation of build/install include paths. --- templates/cmake/CMakeLists.txt.gsl | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/templates/cmake/CMakeLists.txt.gsl b/templates/cmake/CMakeLists.txt.gsl index 68db4584..a00c8bb0 100644 --- a/templates/cmake/CMakeLists.txt.gsl +++ b/templates/cmake/CMakeLists.txt.gsl @@ -839,23 +839,15 @@ $(my.indent)) . . define my.prefix = "" . define my.suffix = "" -. define my.indent_content = my.indent . . if defined(my.pathholder.option) . my.prefix = "$<$:" . my.suffix = ">" -. my.indent_content = " $(my.indent)" . endif . -. if !is_empty(my.prefix) -$(my.indent)$(my.prefix) -. endif -$(my.indent_content)$cmake.rootpath)/$(my.pathholder.path)> +$(my.indent)$(my.prefix)$cmake.rootpath)/$(my.pathholder.path)>$(my.suffix) . if (target_installable(my.target)) -$(my.indent_content)$ -. endif -. if !is_empty(my.prefix) -$(my.indent)$(my.suffix) +$(my.indent)$(my.prefix)$$(my.suffix) . endif .endmacro .