You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
190 B
10 lines
190 B
4 years ago
|
|
||
|
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)
|