<div dir="ltr">Hi folks,<div><br></div><div>I'm using VS2012+cmake2.8.12. My problem is that CMake failed to generate the correct path to my external project. For example:</div><div><br></div><div><div>Project("{...}") = "external", "external.vcxproj", "..." </div>
</div><div><br></div><div>whereas 'external.vcxproj' should be something like ..\path\to\external.vcxproj</div><div><br></div><div>Here is how I use ExternalProject_Add command:</div><div><br></div><div><div>ExternalProject_Add(external SOURCE_DIR ${CMAKE_SOURCE_DIR}/../../int/external<span class="" style="white-space:pre"> </span>CMAKE_ARGS ..</div>
<div><span class="" style="white-space:pre"> </span>BINARY_DIR ${CMAKE_SOURCE_DIR}/../../int/external/build)</div></div><div><br></div><div><br></div><div>Any help is highly appreciated!</div><div><br></div><div><br></div>
<div>Yifei</div></div>