aboutsummaryrefslogtreecommitdiff
path: root/scripts/cmake/vcpkg_get_program_files_32_bit.cmake
blob: 6f434547399c6b8d2f818a4c1a9dace9bc0b87db (plain)
1
2
3
4
5
6
7
8
9
10
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()