Skip to content

Commit

Permalink
fix tests/CMakeLists.txt typo
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderRichert-NOAA committed Nov 3, 2023
1 parent f202411 commit cd24c69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function(create_sp_test name kind timeout)
target_link_libraries(${name}_${kind} PRIVATE ip::ip_${kind})
if(CMAKE_Fortran_COMPILER_ID MATCHES "^(Intel|IntelLLVM)$")
set_target_properties(${name}_${kind} PROPERTIES COMPILE_FLAGS "-convert big_endian ${fortran_${kind}_flags}")
elif(${CMAKE_Fortran_COMPILER_ID} MATCHES "^(GNU)$")
elseif(${CMAKE_Fortran_COMPILER_ID} MATCHES "^(GNU)$")
set_target_properties(${name}_${kind} PROPERTIES COMPILE_FLAGS "-fconvert=big-endian ${fortran_${kind}_flags}")
endif()
add_test(NAME ${name}_${kind} COMMAND ${name}_${kind})
Expand Down

0 comments on commit cd24c69

Please sign in to comment.