Skip to content

Commit

Permalink
Update recipes/protobuf/all/conanfile.py
Browse files Browse the repository at this point in the history
Co-authored-by: SpaceIm <30052553+SpaceIm@users.noreply.github.com>
  • Loading branch information
SSE4 and SpaceIm committed Apr 9, 2022
1 parent 7bd0d88 commit 973d618
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes/protobuf/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def _configure_cmake(self):
if not runtime:
runtime = self.settings.get_safe("compiler.runtime")
cmake.definitions["protobuf_MSVC_STATIC_RUNTIME"] = "MT" in runtime
if self._is_clang_cl:
if tools.Version(self.version) < "3.18.0" and self._is_clang_cl:
cmake.definitions["CMAKE_RC_COMPILER"] = os.environ.get("RC", "llvm-rc")
cmake.configure(build_folder=self._build_subfolder)
return cmake
Expand Down

0 comments on commit 973d618

Please sign in to comment.