Skip to content

Commit

Permalink
ENH: Replaced deprecated exec_program with execute_process (BlueQuart…
Browse files Browse the repository at this point in the history
…zSoftware#851)

Signed-off-by: Jared Duffey <[email protected]>
  • Loading branch information
JDuffeyBQ authored and imikejackson committed Feb 6, 2024
1 parent 7ef2d28 commit 418a0a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/Summary.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
function(OSInformation)
if(APPLE)
exec_program(uname ARGS -v OUTPUT_VARIABLE DARWIN_VERSION)
execute_process(COMMAND uname -v OUTPUT_VARIABLE DARWIN_VERSION)
string(REGEX MATCH "[0-9]+" DARWIN_VERSION ${DARWIN_VERSION})

if(DARWIN_VERSION EQUAL 19) # macOS 10.15 Catalina (Xcode 11.x or Xcode 12.x)
Expand Down

0 comments on commit 418a0a0

Please sign in to comment.