summaryrefslogtreecommitdiff
path: root/indra/cmake/LibVLCPlugin.cmake
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2024-08-12 15:36:30 +0800
committerErik Kundiman <erik@megapahit.org>2024-08-12 15:36:30 +0800
commita350a4a26070a621fcfab58548f7993d158c1cd6 (patch)
tree51b948afff793c2df4ecf6bb64270843dd3f8a9b /indra/cmake/LibVLCPlugin.cmake
parent284a15878801969f75fd427a1be0a3ca1912e969 (diff)
Right WORKING_DIRECTORY values to shorten paths
Diffstat (limited to 'indra/cmake/LibVLCPlugin.cmake')
-rw-r--r--indra/cmake/LibVLCPlugin.cmake18
1 files changed, 6 insertions, 12 deletions
diff --git a/indra/cmake/LibVLCPlugin.cmake b/indra/cmake/LibVLCPlugin.cmake
index c6f1423322..b59c5b3a38 100644
--- a/indra/cmake/LibVLCPlugin.cmake
+++ b/indra/cmake/LibVLCPlugin.cmake
@@ -9,12 +9,9 @@ if (USESYSTEMLIBS)
if (DARWIN)
if (CMAKE_OSX_ARCHITECTURES MATCHES arm64)
if (${PREBUILD_TRACKING_DIR}/sentinel_installed IS_NEWER_THAN ${PREBUILD_TRACKING_DIR}/vlc_installed OR NOT ${vlc_installed} EQUAL 0)
- execute_process(COMMAND curl
- -L
- https://get.videolan.org/vlc/3.0.21/macosx/vlc-3.0.21-arm64.dmg
- -o
- $ENV{HOME}/Downloads/vlc-3.0.21-arm64.dmg
- WORKING_DIRECTORY ${AUTOBUILD_INSTALL_DIR}
+ execute_process(
+ COMMAND curl -OL https://get.videolan.org/vlc/3.0.21/macosx/vlc-3.0.21-arm64.dmg
+ WORKING_DIRECTORY $ENV{HOME}/Downloads
RESULT_VARIABLE vlc_installed
)
file(WRITE ${PREBUILD_TRACKING_DIR}/vlc_installed "${vlc_installed}")
@@ -22,12 +19,9 @@ if (USESYSTEMLIBS)
execute_process(COMMAND hdiutil attach -noverify $ENV{HOME}/Downloads/vlc-3.0.21-arm64.dmg)
else (CMAKE_OSX_ARCHITECTURES MATCHES arm64)
if (${PREBUILD_TRACKING_DIR}/sentinel_installed IS_NEWER_THAN ${PREBUILD_TRACKING_DIR}/vlc_installed OR NOT ${vlc_installed} EQUAL 0)
- execute_process(COMMAND curl
- -L
- https://get.videolan.org/vlc/3.0.21/macosx/vlc-3.0.21-intel64.dmg
- -o
- $ENV{HOME}/Downloads/vlc-3.0.21-intel64.dmg
- WORKING_DIRECTORY ${AUTOBUILD_INSTALL_DIR}
+ execute_process(
+ COMMAND curl -OL https://get.videolan.org/vlc/3.0.21/macosx/vlc-3.0.21-intel64.dmg
+ WORKING_DIRECTORY $ENV{HOME}/Downloads
RESULT_VARIABLE vlc_installed
)
file(WRITE ${PREBUILD_TRACKING_DIR}/vlc_installed "${vlc_installed}")