mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-17 10:58:46 +08:00
10 lines
229 B
CMake
10 lines
229 B
CMake
function(vcpkg_get_program_files_32_bit ret)
|
|
|
|
set(ret_temp $ENV{ProgramFiles\(X86\)})
|
|
if (NOT DEFINED ret_temp)
|
|
set(ret_temp $ENV{PROGRAMFILES})
|
|
endif()
|
|
|
|
set(${ret} ${ret_temp} PARENT_SCOPE)
|
|
|
|
endfunction() |