Skip to content

Commit

Permalink
compiler: improve a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jorisv committed Jan 29, 2024
1 parent dfc8d18 commit a6fb5c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compiler.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ function(CXX_FLAGS_BY_COMPILER_FRONTEND)
${ARGN})

# Before CMake 3.14, the CMAKE_CXX_COMPILER_FRONTEND_VARIANT doesn't exists.
# Before CMake 3.26, the CMAKE_CXX_COMPILER_FRONTEND_VARIANT doesn't exists
# when CMAKE_CXX_COMPILER_ID is set to GNU, MSVC or AppleClang
# Before CMake 3.26, when CMAKE_CXX_COMPILER_ID is set to GNU, MSVC or
# AppleClang, CMAKE_CXX_COMPILER_FRONTEND_VARIANT doesn't exists either
if(CMAKE_CXX_COMPILER_FRONTEND_VARIANT)
if(CMAKE_CXX_COMPILER_FRONTEND_VARIANT STREQUAL "GNU")
set(FLAGS ${ARGS_GNU})
Expand Down

0 comments on commit a6fb5c2

Please sign in to comment.