Skip to content

Commit

Permalink
- avoid unknown compiler warning for LCC
Browse files Browse the repository at this point in the history
Signed-off-by: SSE4 <tomskside@gmail.com>
  • Loading branch information
SSE4 committed Nov 11, 2020
1 parent a63d9b5 commit fcad03e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conans/client/generators/cmake_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ class CMakeCommonMacros:
if(NOT ${_CHECK_VERSION} VERSION_EQUAL ${_CONAN_VERSION})
conan_error_compiler_version()
endif()
elseif(CONAN_COMPILER STREQUAL "apple-clang" OR CONAN_COMPILER STREQUAL "sun-cc")
elseif(CONAN_COMPILER STREQUAL "apple-clang" OR CONAN_COMPILER STREQUAL "sun-cc" OR CONAN_COMPILER STREQUAL "lcc")
conan_split_version(${CONAN_COMPILER_VERSION} CONAN_COMPILER_MAJOR CONAN_COMPILER_MINOR)
if(NOT ${VERSION_MAJOR}.${VERSION_MINOR} VERSION_EQUAL ${CONAN_COMPILER_MAJOR}.${CONAN_COMPILER_MINOR})
conan_error_compiler_version()
Expand Down

0 comments on commit fcad03e

Please sign in to comment.