Skip to content

Commit

Permalink
no strict aliasing typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
scivision committed May 16, 2024
1 parent cbdf7fc commit afd1db9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/compilers.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ if(CMAKE_C_COMPILER_ID MATCHES "^Intel")
endif()

add_compile_options($<$<COMPILE_LANG_AND_ID:C,IntelLLVM>:$<IF:$<BOOL:${WIN32}>,/Qopenmp,-fiopenmp>>)
elseif(CMAKE_C_COMPILER_ID STREQUAL "Clang|GNU")
elseif(CMAKE_C_COMPILER_ID MATCHES "Clang|GNU")
add_compile_options($<$<COMPILE_LANGUAGE:C>:-Werror-implicit-function-declaration;-fno-strict-aliasing>)
endif()

Expand Down

0 comments on commit afd1db9

Please sign in to comment.