Skip to content

Commit

Permalink
Merge pull request #4700 from martin-frbg/fix4698
Browse files Browse the repository at this point in the history
Remove spurious brace in cmake/system.cmake
  • Loading branch information
martin-frbg authored May 16, 2024
2 parents ce96e0e + a3f6b13 commit 5015548
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/system.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ if (DEFINED TARGET)

if ((${TARGET} STREQUAL HASWELL OR (${TARGET} STREQUAL ZEN AND NOT HAVE_AVX512VL)) AND NOT NO_AVX2)
if (${CMAKE_C_COMPILER_ID} STREQUAL "GNU")
if (CMAKE_C_COMPILER_VERSION} VERSION_GREATER 4.7 OR CMAKE_C_COMPILER_VERSION VERSION_EQUAL 4.7)
if (CMAKE_C_COMPILER_VERSION VERSION_GREATER 4.7 OR CMAKE_C_COMPILER_VERSION VERSION_EQUAL 4.7)
set (KERNEL_DEFINITIONS "${KERNEL_DEFINITIONS} -mavx2")
endif()
elseif (${CMAKE_C_COMPILER_ID} STREQUAL "CLANG")
Expand Down

0 comments on commit 5015548

Please sign in to comment.