Skip to content

Commit df226e6

Browse files
authored
[cmake/mruby.cmake] Replace exec_program (deprecated) (#2869)
1 parent 4867353 commit df226e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/mruby.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ if(BUILD_WITH_RUBY)
7575
endif()
7676

7777
if(APPLE)
78-
exec_program(xcrun ARGS --sdk macosx --show-sdk-path OUTPUT_VARIABLE MRUBY_SYSROOT)
78+
execute_process(COMMAND xcrun --sdk macosx --show-sdk-path OUTPUT_VARIABLE MRUBY_SYSROOT OUTPUT_STRIP_TRAILING_WHITESPACE)
7979
endif()
8080

8181
if(ANDROID_NDK_HOME)

0 commit comments

Comments
 (0)