early-access version 2853
This commit is contained in:
10
externals/vcpkg/scripts/cmake/vcpkg_add_to_path.cmake
vendored
Executable file
10
externals/vcpkg/scripts/cmake/vcpkg_add_to_path.cmake
vendored
Executable file
@@ -0,0 +1,10 @@
|
||||
function(vcpkg_add_to_path)
|
||||
cmake_parse_arguments(PARSE_ARGV 0 "arg" "PREPEND" "" "")
|
||||
if(arg_PREPEND)
|
||||
set(operation PREPEND)
|
||||
else()
|
||||
set(operation APPEND)
|
||||
endif()
|
||||
|
||||
vcpkg_host_path_list("${operation}" ENV{PATH} ${arg_UNPARSED_ARGUMENTS})
|
||||
endfunction()
|
Reference in New Issue
Block a user