CMake/Tests/AliasTarget/subdir/CMakeLists.txt

4 lines
67 B
CMake

add_library(tgt STATIC empty.cpp)
add_library(Sub::tgt ALIAS tgt)