mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-23 14:48:19 -05:00
9436ad35df
Fixes: #19617
10 lines
190 B
CMake
10 lines
190 B
CMake
|
|
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)
|