Skip to content

Commit

Permalink
Merge pull request #46 from NOAA-EMC/bugfix/openmp-found
Browse files Browse the repository at this point in the history
Check OpenMP_C_FOUND instead of OpenMP_FOUND
  • Loading branch information
kgerheiser authored Nov 19, 2020
2 parents a78cde5 + 7fa0ab2 commit 96bd069
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wgrib2/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ if(USE_PNG)
target_link_libraries(obj_lib PUBLIC PNG::PNG)
endif()

if(OpenMP_FOUND)
if(OpenMP_C_FOUND)
target_link_libraries(obj_lib PUBLIC OpenMP::OpenMP_C)
endif()

Expand Down

0 comments on commit 96bd069

Please sign in to comment.