From 41b0d37c2b3650d01ef69f9e9936b9878a5de2f7 Mon Sep 17 00:00:00 2001 From: Taylor Bockman Date: Wed, 1 Jan 2020 15:39:12 -0800 Subject: [PATCH] Use macro in cgen cmake script --- dotfiles/bash/scripts/cgen.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotfiles/bash/scripts/cgen.sh b/dotfiles/bash/scripts/cgen.sh index 42d4548..0b1ff7b 100755 --- a/dotfiles/bash/scripts/cgen.sh +++ b/dotfiles/bash/scripts/cgen.sh @@ -74,7 +74,7 @@ echo "message(\"-- Configuring debug build...\")" >> $cmake_config echo "add_compile_definitions(DEBUG_BUILD)" >> $cmake_config echo "ENDIF(CMAKE_BUILD_TYPE MATCHES DEBUG)" >> $cmake_config echo "" >> $cmake_config -echo "add_executable($name \${SOURCE} \${INCLUDE})" >> $cmake_config +echo "add_executable(\${PROJECT_NAME} \${SOURCE} \${INCLUDE})" >> $cmake_config echo "Copying .clang-format..."