Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
memsharded committed Mar 27, 2024
1 parent 93d77b7 commit a9648f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions conan_provider.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -297,14 +297,14 @@ macro(append_compiler_executables_configuration)
"Please define CMAKE_C_COMPILER or enable the C language.")
endif()
if(CMAKE_CXX_COMPILER)
set(_conan_cpp_compiler "\"cpp\":\"${CMAKE_CXX_COMPILER}\"")
set(_conan_cpp_compiler "\"cpp\":\"${CMAKE_CXX_COMPILER}\",")
set_conan_compiler_if_appleclang(CXX c++ _conan_cpp_compiler)
else()
message(WARNING "CMake-Conan: The C++ compiler is not defined. "
"Please define CMAKE_CXX_COMPILER or enable the C++ language.")
endif()
if(CMAKE_RC_COMPILER)
set(_conan_rc_compiler "\"rc\":\"${CMAKE_RC_COMPILER}\",")
set(_conan_rc_compiler "\"rc\":\"${CMAKE_RC_COMPILER}\"")
# Not necessary to warn if RC not defined
endif()

Expand Down

0 comments on commit a9648f8

Please sign in to comment.