From 3800cfe6e0a6ddbc39a07db1833d28e22d4e0cc3 Mon Sep 17 00:00:00 2001 From: arvindcheru <90783369+arvindcheru@users.noreply.github.com> Date: Fri, 19 Jul 2024 11:36:35 -0400 Subject: [PATCH] SWDEV-472375 Add build-id to internal client cmake execute command (#500) --- clients/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/CMakeLists.txt b/clients/CMakeLists.txt index 4d64b8af..aae7740b 100644 --- a/clients/CMakeLists.txt +++ b/clients/CMakeLists.txt @@ -83,7 +83,7 @@ if(BUILD_CLIENTS_TESTS) if(NOT CONVERT_SOURCE) set(CONVERT_SOURCE ${CMAKE_SOURCE_DIR}/deps/convert.cpp) endif() - execute_process(COMMAND ${CMAKE_CXX_COMPILER} ${CONVERT_SOURCE} -O3 -o ${PROJECT_BINARY_DIR}/mtx2csr.exe RESULT_VARIABLE STATUS) + execute_process(COMMAND ${CMAKE_CXX_COMPILER} ${CONVERT_SOURCE} -Wl,--build-id=sha1 -O3 -o ${PROJECT_BINARY_DIR}/mtx2csr.exe RESULT_VARIABLE STATUS) if(STATUS AND NOT STATUS EQUAL 0) message(FATAL_ERROR "mtx2csr.exe failed to build, aborting.") endif()