mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 09:59:00 +08:00
7 lines
233 B
CMake
7 lines
233 B
CMake
|
function(vcpkg_get_program_files_32_bit ret)
|
||
|
if(DEFINED ENV{ProgramFiles\(X86\)})
|
||
|
set(${ret} $ENV{ProgramFiles\(X86\)} PARENT_SCOPE)
|
||
|
else()
|
||
|
set(${ret} $ENV{PROGRAMFILES} PARENT_SCOPE)
|
||
|
endif()
|
||
|
endfunction()
|