mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-31 05:03:22 +08:00
10 lines
232 B
CMake
10 lines
232 B
CMake
function(vcpkg_get_program_files_platform_bitness ret)
|
|
|
|
set(ret_temp $ENV{ProgramW6432})
|
|
if (NOT DEFINED ret_temp)
|
|
set(ret_temp $ENV{PROGRAMFILES})
|
|
endif()
|
|
|
|
set(${ret} ${ret_temp} PARENT_SCOPE)
|
|
|
|
endfunction() |