Re: [CMake] linking FetchContent library

2019-04-11 Thread Craig Scott
(Please continue to CC the mailing list with replies) On Thu, Apr 11, 2019 at 4:22 PM Stéphane Ancelot wrote: > > Le 10/04/2019 à 23:03, Craig Scott a écrit : > > > > On Thu, Apr 11, 2019 at 1:35 AM Stéphane Ancelot > wrote: > >> Hi, >> >> are there any specific Cmake configurations to setup in

Re: [CMake] linking FetchContent library

2019-04-10 Thread Craig Scott
On Thu, Apr 11, 2019 at 1:35 AM Stéphane Ancelot wrote: > Hi, > > are there any specific Cmake configurations to setup in projects when > using fetchcontent. > > I am able to fetch and build a library but not able to link and include > files of this library in another projects. > > include(FetchC

[CMake] linking FetchContent library

2019-04-10 Thread Stéphane Ancelot
Hi, are there any specific Cmake configurations to setup in projects when using fetchcontent. I am able to fetch and build a library but not able to link and include files of this library in another projects. include(FetchContent) FetchContent_Declare(   jconcpp   GIT_REPOSITORY https://gi