-
-
Notifications
You must be signed in to change notification settings - Fork 620
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Per documentation: <XXX>_LIBRARIES - only the libraries (without the '-l') <XXX>_LINK_LIBRARIES - the libraries and their absolute paths Using _LIBRARIES assumes that appropriate default -L arguments will be provided by the environment/system. CMake discourages directly adding paths with -L or link_directiories because it polutes the environment and can cause issues. So the only way to ensure correct build on some platforms is to use absolute paths provided by _LINK_LIBRARIES. Signed-off-by: Tin Švagelj <[email protected]>
- Loading branch information
Showing
1 changed file
with
18 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters