Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates to allow GEOS to build without MKL #8

Merged
merged 6 commits into from
Sep 22, 2020
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion NCEP_sp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@ set (CMAKE_Fortran_FLAGS_RELEASE "-O2 ${GEOS_Fortran_Release_FPE_Flags} ${EXTEND

esma_add_library (${this} SRCS ${srcs} DEPENDENCIES NCEP_w3_${precision})

target_link_libraries(${this} PUBLIC ${MKL_LIBRARIES})
if (MKL_FOUND)
target_link_libraries(${this} PUBLIC ${MKL_LIBRARIES})
else ()
target_link_libraries(${this} PUBLIC ${LAPACK_LIBRARIES})
endif ()

if (precision MATCHES "r4i4")
# use default real/int precisions
Expand Down