Found the solution: I really just had to add 'package_type="library" ' attribute and the 'def package_info(self):' method which contains 'self.cpp_info.libs = ["name_of_package"]' All the hassle was only because of these two missing things...