mirror of
https://github.com/ttroy50/cmake-examples.git
synced 2025-12-18 12:14:36 +03:00
Update to minimum CMake 3.5
And modernise some examples.
This commit is contained in:
@@ -145,7 +145,7 @@ is added as a dependency.
|
||||
----
|
||||
target_link_libraries(subbinary
|
||||
PUBLIC
|
||||
sublibrary1
|
||||
sublibrary1
|
||||
)
|
||||
----
|
||||
|
||||
@@ -164,7 +164,7 @@ To reference the alias, just it as follows:
|
||||
[source,cmake]
|
||||
----
|
||||
target_link_libraries(subbinary
|
||||
sublibrary1
|
||||
sub::lib2
|
||||
)
|
||||
----
|
||||
|
||||
|
||||
Reference in New Issue
Block a user