mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-08 13:25:26 +08:00
7 lines
229 B
CMake
7 lines
229 B
CMake
function(vcpkg_get_program_files_platform_bitness ret)
|
|
if(DEFINED ENV{ProgramW6432})
|
|
set(${ret} $ENV{ProgramW6432} PARENT_SCOPE)
|
|
else()
|
|
set(${ret} $ENV{PROGRAMFILES} PARENT_SCOPE)
|
|
endif()
|
|
endfunction() |