aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake')
-rw-r--r--cmake/modules/FindLibDvd.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/FindLibDvd.cmake b/cmake/modules/FindLibDvd.cmake
index 78b047ac2f..8fe9d6d3e2 100644
--- a/cmake/modules/FindLibDvd.cmake
+++ b/cmake/modules/FindLibDvd.cmake
@@ -19,7 +19,7 @@ function(addstep_autoreconf module_name)
ExternalProject_Add_Step(${module_name} autoreconf
DEPENDEES download update patch
DEPENDERS configure
- COMMAND PATH=${NATIVEPREFIX}/bin:$ENV{PATH} autoreconf -vif
+ COMMAND ${CMAKE_COMMAND} -E env PATH=${NATIVEPREFIX}/bin:$ENV{PATH} autoreconf -vif
WORKING_DIRECTORY <SOURCE_DIR>)
endfunction()