diff options
Diffstat (limited to 'cmake/FindVala.cmake')
-rw-r--r-- | cmake/FindVala.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/FindVala.cmake b/cmake/FindVala.cmake index 5b35d7d7..ae87de17 100644 --- a/cmake/FindVala.cmake +++ b/cmake/FindVala.cmake @@ -52,6 +52,7 @@ mark_as_advanced(VALA_EXECUTABLE) # Determine the valac version if(VALA_EXECUTABLE) + file(TO_NATIVE_PATH "${VALA_EXECUTABLE}" VALA_EXECUTABLE) execute_process(COMMAND ${VALA_EXECUTABLE} "--version" OUTPUT_VARIABLE VALA_VERSION OUTPUT_STRIP_TRAILING_WHITESPACE) |