Fix: libts-import.cmake calling cmake incorrectly
This change fixes two errors in the mentioned file:
- the cmake configuration command depends on the binary directory
existing when the call is made, because the working directory is
used to set the location of the build directory.
As a fix use the -B switch instead. This way cmake will create the
directory when needed.
- the result of the config step was not set to _exec_error variable
and the code was checking this to detect errors. Thus error
detection was not working.
Change-Id: I1e5db0b4b5453144b0cf2903d125a5a2010727fe
Signed-off-by: Gyorgy Szing <Gyorgy.Szing@arm.com>
1 file changed