conan-io / cmake-conan

CMake wrapper for conan C and C++ package manager

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Different formatting of msvc runtime value conan_provider.cmake

Bobini1 opened this issue · comments

I got an error when trying out the plugin in Clion on my project:

CMake Error at conan_provider.cmake:212 (message):
  CMake-Conan: unable to map MSVC runtime:
  $<$<CONFIG:Debug>:MultiThreadedDebugDLL>$<$<CONFIG:Release>:MultiThreadedDLL>
  to Conan settings

It looks like it is in the list of known values but formatted as MultiThreaded$<$<CONFIG:Debug>:Debug>DLL.
I appended my value to the list of known values, it seems to work fine. See #613.