diff --git a/Tools/CMake/Conan.cmake b/Tools/CMake/Conan.cmake index 4ca79047d8..e9f79e8d34 100644 --- a/Tools/CMake/Conan.cmake +++ b/Tools/CMake/Conan.cmake @@ -35,6 +35,7 @@ if(USE_CONAN) COMMAND conan install ${CONAN_FILE_PATH} --output-folder=${CMAKE_BINARY_DIR}/conan_build -s build_type=${CMAKE_BUILD_TYPE} + -c tools.cmake.cmaketoolchain:generator=${CMAKE_GENERATOR} -s compiler.runtime=${CONAN_COMPILER_RUNTIME} --build=missing) elseif(APPLE)