Skip to content

Commit 675d716

Browse files
Merge pull request #693 from friedc/master
Revert "Do not check the FortranCInterface if LAPACKE is not built."
2 parents 8b3bbfa + 1de2b70 commit 675d716

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

LAPACKE/CMakeLists.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
if(NOT LAPACKE)
2-
return()
3-
endif()
4-
5-
61
# Create a header file lapacke_mangling.h for the routines called in my C programs
72
include(FortranCInterface)
83
## Ensure that the fortran compiler and c compiler specified are compatible
@@ -19,6 +14,11 @@ endif()
1914
add_subdirectory(include)
2015

2116

17+
if(NOT LAPACKE)
18+
return()
19+
endif()
20+
21+
2222
message(STATUS "LAPACKE enabled")
2323
enable_language(C)
2424

0 commit comments

Comments
 (0)