I'm on MacOS.
This is my error :
CMake Error at build/conanbuildinfo.cmake:625 (message): Detected a mismatch for the compiler version between your conan profile settings and CMake:
Compiler version specified in your conan profile: 11.0
Compiler version detected in CMake: 12.0
Please check your conan profile settings (conan profile show [default|your_profile_name])
and here's my cmakefile:
project(Babel)
cmake_minimum_required(VERSION 2.8.12)
add_definitions("-fPIC")
include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
conan_basic_setup()
find_package(Qt5Widgets CONFIG REQUIRED)
file(GLOB_RECURSE BABEL_SRC PATH ./sources/*.cpp)
include_directories(${CMAKE_INCLUDE_PATH})
add_executable(babel ${BABEL_SRC})
target_link_libraries(babel ${CONAN_LIBS} Qt5::Widgets)
Thanks.