• Rolf Eike Beer's avatar
    use the find_* functions ENV parameter · b04650e1
    Rolf Eike Beer authored
    Instead of directly passing $ENV{SOMEVAR} to a find_* call pass in ENV SOMEVAR.
    This will make sure the paths will get correctly handled through different
    platforms, especially on Windows.
    Also fixes one place where paths with windows delimiters (\) were hardcoded to
    use forward slashes.
FindGDAL.cmake 3.27 KB