Skip to content

Commit

Permalink
Remove spurious output
Browse files Browse the repository at this point in the history
  • Loading branch information
benmwebb committed Mar 28, 2024
1 parent cb6747d commit 4785481
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions cmake_modules/IMPFindCompilerFlags.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@ endif()
if ("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU")
execute_process(COMMAND ${CMAKE_CXX_COMPILER} -dumpversion OUTPUT_VARIABLE
GCC_VERSION OUTPUT_STRIP_TRAILING_WHITESPACE)
message(STATUS "GCC version: ${GCC_VERSION}")
if (GCC_VERSION VERSION_GREATER 4.6 OR GCC_VERSION VERSION_EQUAL 4.6)
message(STATUS "No conversion issue")
elseif (GCC_VERSION VERSION_GREATER 4.3 OR GCC_VERSION VERSION_EQUAL 4.3)
if (GCC_VERSION VERSION_LESS 4.6 AND (GCC_VERSION VERSION_GREATER 4.3 OR GCC_VERSION VERSION_EQUAL 4.3))
add_definitions("-Wno-conversion")
endif()
endif()
Expand Down

0 comments on commit 4785481

Please sign in to comment.