diff --git a/tools/build.sh b/tools/build.sh index 51fef35..f175c01 100755 --- a/tools/build.sh +++ b/tools/build.sh @@ -1 +1 @@ -cmake --build build --config "${1:-Debug}" \ No newline at end of file +cmake --build build -DCMAKE_BUILD_TYPE="${1:-Debug}" \ No newline at end of file diff --git a/tools/generate.sh b/tools/generate.sh index 0e101d1..96ab6d7 100755 --- a/tools/generate.sh +++ b/tools/generate.sh @@ -3,4 +3,4 @@ then mkdir build fi -cmake -S . -B build -G "${1:-Ninja}" --config "${2:-Debug}" \ No newline at end of file +cmake -S . -B build -G "${1:-Ninja}" -DCMAKE_BUILD_TYPE="${2:-Debug}" \ No newline at end of file