1 2 3 4 5
enable_language(CXX) add_library(somelib empty.cpp) get_target_property(_loc somelib LOCATION)