Skip to content

Commit b57d116

Browse files
committed
cmake: include build id in build
1 parent 84cf314 commit b57d116

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ target_include_directories(flutterpi_module PUBLIC
149149
)
150150

151151
target_compile_options(flutterpi_module PUBLIC
152+
--build-id=sha1
152153
$<$<CONFIG:Debug>:-O0 -Wall -Wextra -Wno-sign-compare -Werror -ggdb -U_FORTIFY_SOURCE -DDEBUG>
153154
$<$<CONFIG:RelWithDebInfo>:-O3 -Wall -Wextra -Wno-sign-compare -ggdb -DNDEBUG>
154155
$<$<CONFIG:Release>:-O3 -Wall -Wextra -Wno-sign-compare -DNDEBUG>

0 commit comments

Comments
 (0)