From 75e7c121b47ea2f98402a3a1093f0da7e421ce2b Mon Sep 17 00:00:00 2001 From: Edgar Date: Sat, 22 Oct 2022 08:45:53 +0000 Subject: [PATCH] :bug: Fixed ogre3d cmake targets --- ogre/13/conanfile.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ogre/13/conanfile.py b/ogre/13/conanfile.py index 5dd1493..bb7c82c 100644 --- a/ogre/13/conanfile.py +++ b/ogre/13/conanfile.py @@ -113,12 +113,14 @@ class OGREConan(ConanFile): cmake.install() def package_info(self): - self.cpp_info.name = "OGRE" + self.cpp_info.set_property("cmake_module_file_name", "OGRE") + self.cpp_info.set_property("cmake_module_target_name", "OGRE::OGRE") + self.cpp_info.set_property("cmake_file_name", "OGRE") + self.cpp_info.set_property("cmake_target_name", "OGRE::OGRE") self.cpp_info.includedirs = [ "include", "include/OGRE", "include/OGRE/Bites", - "include/OGRE/HLMS", "include/OGRE/MeshLodGenerator", "include/OGRE/Overlay", "include/OGRE/Paging",