<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi,</p>
<p>are there any specific Cmake configurations to setup in projects
when using fetchcontent.</p>
<p>I am able to fetch and build a library but not able to link and
include files of this library in another projects.</p>
<p>include(FetchContent)<br>
<br>
FetchContent_Declare(<br>
jconcpp<br>
GIT_REPOSITORY <a class="moz-txt-link-freetext" href="https://github.com/joncol/jcon-cpp.git">https://github.com/joncol/jcon-cpp.git</a><br>
)<br>
<br>
FetchContent_Populate(jconcpp)<br>
add_subdirectory(${jconcpp_SOURCE_DIR} ${jconcpp_BINARY_DIR})<br>
</p>
<p><br>
</p>
<p><br>
</p>
<p>Regards,</p>
<p>S.Ancelot</p>
<p><br>
</p>
</body>
</html>