Skip to content

Commit

Permalink
Fix deprecated exec_program command (#1004)
Browse files Browse the repository at this point in the history
  • Loading branch information
rjoomen authored May 30, 2024
1 parent 371e7d5 commit 9755814
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tesseract_common/cmake/tesseract_macros.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ macro(tesseract_variables)
-Wsign-conversion
-Wno-sign-compare
-Wnon-virtual-dtor)
exec_program(uname ARGS -p OUTPUT_VARIABLE CMAKE_SYSTEM_NAME2)
execute_process(COMMAND uname -p OUTPUT_VARIABLE CMAKE_SYSTEM_NAME2)
if(NOT
CMAKE_SYSTEM_NAME2
MATCHES
Expand Down Expand Up @@ -117,7 +117,7 @@ macro(tesseract_variables)
-Werror=sign-conversion
-Wno-sign-compare
-Werror=non-virtual-dtor)
exec_program(uname ARGS -p OUTPUT_VARIABLE CMAKE_SYSTEM_NAME2)
execute_process(COMMAND uname -p OUTPUT_VARIABLE CMAKE_SYSTEM_NAME2)
if(NOT
CMAKE_SYSTEM_NAME2
MATCHES
Expand Down

0 comments on commit 9755814

Please sign in to comment.