I got an error in CLion caused by CMake. It says that Cmake cannot find the log4cppD package.
Here is a piece of the conanfile.py
def package_info(self):
self.cpp_info.set_property("cmake_find_mode", "both")
if self.settings.build_type == "Debug":
self.cpp_info.libs = ["log4cppD"]
else:
self.cpp_info.libs = ["log4cpp"]
if self.settings.os == "Linux":
self.cpp_info.system_libs.append("pthread")
And this is the CMake error:
CMake Error at cmakedeps_macros.cmake:67 (message):
Library 'log4cppD' not found in package. If 'log4cppD' is a system
library, declare it with 'cpp_info.system_libs' property
Please help me, I am confused