Skip to content

Fix CMP0038 warnings on CMake >= 3.0#143

Open
yol wants to merge 1 commit intoqueezythegreat:masterfrom
yol:patch-1
Open

Fix CMP0038 warnings on CMake >= 3.0#143
yol wants to merge 1 commit intoqueezythegreat:masterfrom
yol:patch-1

Conversation

@yol
Copy link

@yol yol commented Mar 11, 2015

As of CMake 3.0, targets may not link to themselves in target_link_libraries. Doing so displays a warning (policy CMP0038). This change makes sure that a library will not be considered a dependency of itself.

As of CMake 3.0, targets may not link to themselves in target_link_libraries. Doing so displays a warning (policy CMP0038). This change makes sure that a library will not be considered a dependency of itself.
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