Commit 98bc23aa authored by PRUVOST Florent's avatar PRUVOST Florent
Browse files

Merge branch 'revert-af6d116a' into 'master'

Revert "Merge branch 'fix_find_TMG_C' into 'master'"

See merge request !10
parents aae0f9e8 4f8eab44
...@@ -251,14 +251,6 @@ if (LAPACK_FOUND) ...@@ -251,14 +251,6 @@ if (LAPACK_FOUND)
endif (NOT _LANGUAGES_ MATCHES Fortran) endif (NOT _LANGUAGES_ MATCHES Fortran)
mark_as_advanced(TMG_WORKS) mark_as_advanced(TMG_WORKS)
endif() endif()
if (TMG_WORKS)
unset(TMG_WORKS CACHE)
if (_LANGUAGES_ MATCHES C)
check_function_exists(LAPACKE_zlatms_work TMG_WORKS)
endif (_LANGUAGES_ MATCHES C)
mark_as_advanced(TMG_WORKS)
unset(TMG_WORKS_C CACHE)
endif()
if(TMG_WORKS) if(TMG_WORKS)
# save link with dependencies # save link with dependencies
...@@ -271,7 +263,7 @@ if (LAPACK_FOUND) ...@@ -271,7 +263,7 @@ if (LAPACK_FOUND)
list(REMOVE_DUPLICATES TMG_LINKER_FLAGS) list(REMOVE_DUPLICATES TMG_LINKER_FLAGS)
else() else()
if(NOT TMG_FIND_QUIETLY) if(NOT TMG_FIND_QUIETLY)
message(STATUS "Looking for tmg: test of dlarnv and dlagsy or LAPACKE_zlatms_work with tmg and lapack libraries fails") message(STATUS "Looking for tmg: test of dlarnv and dlagsy with tmg and lapack libraries fails")
message(STATUS "CMAKE_REQUIRED_LIBRARIES: ${CMAKE_REQUIRED_LIBRARIES}") message(STATUS "CMAKE_REQUIRED_LIBRARIES: ${CMAKE_REQUIRED_LIBRARIES}")
message(STATUS "CMAKE_REQUIRED_INCLUDES: ${CMAKE_REQUIRED_INCLUDES}") message(STATUS "CMAKE_REQUIRED_INCLUDES: ${CMAKE_REQUIRED_INCLUDES}")
message(STATUS "Check in CMakeFiles/CMakeError.log to figure out why it fails") message(STATUS "Check in CMakeFiles/CMakeError.log to figure out why it fails")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment