1 2 3 4
cmake_policy(SET CMP0038 OLD) add_library(self_link empty.cpp) target_link_libraries(self_link self_link)