Skip to content

Commit

Permalink
Add flag to cmake wen compiling release (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
bakpaul authored Dec 13, 2024
1 parent 7681010 commit 4daa39c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,7 @@ fi

# Generate binaries?
if in-array "build-release-package" "$BUILD_OPTIONS"; then
add-cmake-option "-DSOFA_WITH_DEVTOOLS=OFF"
add-cmake-option "-DSOFA_BUILD_RELEASE_PACKAGE=ON"
if [[ "$BUILD_TYPE_CMAKE" == "Release" ]]; then
add-cmake-option "-DCMAKE_BUILD_TYPE=MinSizeRel"
Expand Down

0 comments on commit 4daa39c

Please sign in to comment.