Skip to content

Commit 955b4cb

Browse files
committed
build change
1 parent 306e1a2 commit 955b4cb

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ file(GLOB TEST_SOURCES "tests/*")
4040
file(GLOB COMMON_TEST_SOURCES "tests/test.*")
4141

4242
# format code
43-
if(DEFINED ENV{X_CMAKE_SCRIPTEXEC_UNCRUSTIFY_ENABLED})
43+
if(DEFINED ENV{X_CMAKE_UNCRUSTIFY_ENABLED})
4444
add_custom_target(uncrustify ALL
4545
uncrustify
4646
-c ${X_CMAKE_PROJECT_ROOT_DIR}/uncrustify.cfg

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ if [ $1 = "--clean" ]; then
44
rm -Rf ./target
55
fi
66

7-
export X_CMAKE_SCRIPTEXEC_UNCRUSTIFY_ENABLED=1
7+
export X_CMAKE_UNCRUSTIFY_ENABLED=1
88

99
echo Creating Target Directory...
1010
mkdir ./target

0 commit comments

Comments
 (0)