<div dir="ltr"><div>My project uses the "external project" functionality to download and install a "headers-only" library. I use an "interface library" to import that library dependency to my project. I'd like to add a dependency from the external project target to the interface library to trigger the library downloading and configuration process. </div>
<div>But apparently this is not allowed and I get this error:</div><div>add_dependencies Cannot add target-level dependencies to INTERFACE library</div><div> target "EigenExternal"</div><div><br></div><div>Is there any workaround for this or am I doing something wrong? </div>
<div><br></div><div>Thanks a lot,</div><div>Jose</div></div>