Skip to content

Conversation

@yo35
Copy link
Contributor

@yo35 yo35 commented Nov 29, 2024

  • Avoid duplicated folders
  • Use target property INTERFACE_LINK_LIBRARIES instead of LINK_LIBRARIES, as the latter is not exported in PackageConfig.cmake files

- Avoid duplicated folders
- Use target property INTERFACE_LINK_LIBRARIES instead of LINK_LIBRARIES,
  as the latter is not exported in PackageConfig.cmake files
@yo35
Copy link
Contributor Author

yo35 commented Nov 29, 2024

@BotellaA As we discussed, this does not solve the problem of dynamic libraries registered as private dependencies, nor the fact that $ENV{LD_LIBRARY_PATH} is evaluated during the configuration phase, not when running the tests.

I mentioned that this is completely untested under Windows. ;-)

@BotellaA BotellaA changed the base branch from master to fix/cmake-link-libraries November 29, 2024 14:15
@BotellaA BotellaA merged commit a484ad6 into Geode-solutions:fix/cmake-link-libraries Nov 29, 2024
3 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants