patrikhuber / eos

A lightweight 3D Morphable Face Model library in modern C++
Apache License 2.0
1.89k stars 596 forks source link

When using as external lib, is it possible to use target_link_libraries? #235

Closed ldXiao closed 5 years ago

ldXiao commented 5 years ago

Dear all, as the creator has mentioned in the main page, we can directly include the directory in the project.

But can we use the syntax like Find_Package(eos.....) .... target_link_directories(...) ?

patrikhuber commented 5 years ago

Hi!

Unfortunately this is not yet possible. This would be part of #68. But it shouldn't be a big issue - since eos is a header-only library, you could just add eos's include directory to your project using target_include_directories. No linking or compilation is required.

patrikhuber commented 5 years ago

I am closing this as a duplicate of #68 :-)