Sign in
fuchsia
/
third_party
/
github.com
/
Kitware
/
CMake
/
dab947fec00175736b304693c1647a6992ae5544
/
.
/
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
)