We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 340f9d9 + c2d3243 commit 498718eCopy full SHA for 498718e
1 file changed
src/Conan.cmake
@@ -44,8 +44,10 @@ macro(run_conan)
44
conan_cmake_install(
45
PATH_OR_REFERENCE ${CMAKE_SOURCE_DIR}
46
BUILD missing
47
- # Pass compile-time configured options into conan
+ # Pass compile-time configured options into conan
48
OPTIONS ${ProjectOptions_CONAN_OPTIONS}
49
+ # Pass CMake compilers to Conan
50
+ ENV "CC=${CMAKE_C_COMPILER}" "CXX=${CMAKE_CXX_COMPILER}"
51
SETTINGS ${settings})
52
endforeach()
53
0 commit comments