https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119212

--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Nikl Kelbon from comment #2)
> I understand, sorry for not preparing a bug report. I have a lot of work,
> you could download the project and run it yourself using CMake
> 
> 
> include(FetchContent)
> FetchContent_Declare(
>   TGBM
>   GIT_REPOSITORY https://github.com/bot-motherlib/TGBM
>   GIT_TAG        origin/master
> )
> FetchContent_MakeAvailable(TGBM)
> target_link_libraries(MyTargetName tgbmlib)


This does not work for me:

CMake Error at CMakeLists.txt:9 (target_link_libraries):
  Cannot specify link libraries for target "MyTargetName" which is not built
  by this project.

Reply via email to