Skip to content

Commit b3f24c9

Browse files
authored
CMake: Use the correct library name on windows
FindBLAS and FindLAPACK don't correctly detect the OpenBLAS library name on windows. I am unsure why this was originally set this way, but it has caused me some trouble.
1 parent 3d23f45 commit b3f24c9

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

CMakeLists.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,7 @@ set(OpenBLAS_VERSION "${OpenBLAS_MAJOR_VERSION}.${OpenBLAS_MINOR_VERSION}.${Open
1212
# Adhere to GNU filesystem layout conventions
1313
include(GNUInstallDirs)
1414

15-
if(MSVC)
16-
set(OpenBLAS_LIBNAME libopenblas)
17-
else()
1815
set(OpenBLAS_LIBNAME openblas)
19-
endif()
2016

2117
#######
2218
if(MSVC)

0 commit comments

Comments
 (0)