Re: [CMake] using fetch_content imported modules and not system one

2019-08-29 Thread Craig Scott
On Thu, Aug 29, 2019 at 11:14 PM Stéphane Ancelot wrote: > hi, > > i used fetch_content to download bullet library , but I cant use it. > > FetchContent_Declare( > bullet > GIT_REPOSITORY https://github.com/bulletphysics/bullet3.git > GIT_TAG2.88 > > ) > > FetchContent_GetProperties

[CMake] using fetch_content imported modules and not system one

2019-08-29 Thread Stéphane Ancelot
hi, i used fetch_content to download bullet library , but I cant use it. FetchContent_Declare(   bullet   GIT_REPOSITORY https://github.com/bulletphysics/bullet3.git   GIT_TAG    2.88 ) FetchContent_GetProperties(bullet) if(NOT bullet_POPULATED)   FetchContent_Populate(bullet)   add_subdir