Sign in
fuchsia
/
third_party
/
cmake
/
4f90fef85f6391e63dfae26bd6f290c59ea48e95
/
.
/
Tests
/
RunCMake
/
target_link_libraries
/
CMP0108-self-link.cmake
blob: 07a3490dd47281d880e84aff023d3e66d7d5493f [
file
] [
log
] [
blame
]
cmake_policy
(
SET CMP0038 NEW
)
cmake_policy
(
SET CMP0042 NEW
)
enable_language
(
C
)
add_library
(
foo SHARED lib
.
c
)
add_library
(
Bar
::
foo ALIAS foo
)
target_link_libraries
(
foo PRIVATE
Bar
::
foo
)