mirror of
https://github.com/yuzu-emu/mbedtls
synced 2024-11-24 08:08:13 +00:00
Remove need for elevated command line in Windows
Changes use of mklink in Windows test builds, to create junctions instead of directory symbolic links. This removes the need for an elevated command prompt when running cmake to create the Visual Studio project files.
This commit is contained in:
parent
b67c897ded
commit
d473c1f359
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ if (NOT ${CMAKE_CURRENT_BINARY_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR})
|
||||||
if (CMAKE_HOST_UNIX)
|
if (CMAKE_HOST_UNIX)
|
||||||
set(command ln -s ${target} ${link})
|
set(command ln -s ${target} ${link})
|
||||||
else()
|
else()
|
||||||
set(command cmd.exe /c mklink /d ${link} ${target})
|
set(command cmd.exe /c mklink /j ${link} ${target})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
execute_process(COMMAND ${command}
|
execute_process(COMMAND ${command}
|
||||||
|
|
Loading…
Reference in a new issue