vcpkg/scripts/cmake/vcpkg_get_program_files_32_bit.cmake
2017-02-24 15:02:10 -08:00

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()