mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-01 21:58:55 +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() |