mirror of https://github.com/ArduPilot/ardupilot
waf: cmake: declare CMAKE_BLD_DIR as a value dependency
Since we set that value to the task's cwd property, we need to declare it as a value dependency of cmake_configure_task.
This commit is contained in:
parent
6c914349d0
commit
eacf9d8a0e
|
@ -99,6 +99,7 @@ from waflib.TaskGen import feature, taskgen_method
|
||||||
from collections import OrderedDict
|
from collections import OrderedDict
|
||||||
|
|
||||||
class cmake_configure_task(Task.Task):
|
class cmake_configure_task(Task.Task):
|
||||||
|
vars = ['CMAKE_BLD_DIR']
|
||||||
run_str = '${CMAKE} ${CMAKE_SRC_DIR} ${CMAKE_VARS} ${CMAKE_GENERATOR_OPTION}'
|
run_str = '${CMAKE} ${CMAKE_SRC_DIR} ${CMAKE_VARS} ${CMAKE_GENERATOR_OPTION}'
|
||||||
|
|
||||||
def uid(self):
|
def uid(self):
|
||||||
|
|
Loading…
Reference in New Issue