<div dir="ltr">Hi,<div><br></div><div style>If I have the following command:</div><div style><br></div><div style><div> execute_process(</div><div> COMMAND ${CMAKE_COMMAND} -E tar xzf mySDK.tar.gz</div><div> WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}</div>
<div> )</div><div><br></div><div style>the extraction works and extracts the tar in the current directory. But this:</div><div style><br></div><div style><div> execute_process(</div><div> COMMAND ${CMAKE_COMMAND} -E tar xzf mySDK.tar.gz</div>
<div> WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/someSubdirectory</div><div> )</div><div><br></div><div style>fails to extract into 'someDirectory' (even if it already exists - although it 'should' create the directory for me).</div>
<div style><br></div><div style>Am I misunderstanding some commands?</div><div style><br></div><div style>Thanks,</div><div style>Saad</div></div></div></div>