File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -46,13 +46,8 @@ find_package(LAPACK REQUIRED)
46
46
47
47
# get path to LAPACK library to use in generated makefiles for examples, if
48
48
# LAPACK_LIBRARIES contains multiple items only use the path of the first entry
49
- list (LENGTH LAPACK_LIBRARIES len)
50
- if (len EQUAL 1)
51
- get_filename_component (LAPACK_LIBRARY_DIR ${LAPACK_LIBRARIES} PATH )
52
- else ()
53
- list (GET LAPACK_LIBRARIES 0 TMP_LAPACK_LIBRARIES)
54
- get_filename_component (LAPACK_LIBRARY_DIR ${TMP_LAPACK_LIBRARIES} PATH )
55
- endif ()
49
+ list (GET LAPACK_LIBRARIES 0 TMP_LAPACK_LIBRARIES)
50
+ get_filename_component (LAPACK_LIBRARY_DIR ${TMP_LAPACK_LIBRARIES} PATH )
56
51
57
52
# -----------------------------------------------------------------------------
58
53
# Section 4: Test the TPL
You can’t perform that action at this time.
0 commit comments