mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-31 05:03:22 +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()
|