summaryrefslogtreecommitdiffstats
path: root/cmake/modules/MacroGetenvWinPath.cmake
blob: b18f7f639a071acf3a86bc73e08303de74329337 (plain)
1
2
3
4
5

MACRO (MACRO_GETENV_WIN_PATH var name)
   set(${var} $ENV{${name}})
   STRING(REGEX REPLACE "\\\\" "/" ${var} "${${var}}")
ENDMACRO (MACRO_GETENV_WIN_PATH var name)