File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -117,9 +117,9 @@ endforeach ()
117
117
# Not using add_subdirectory here because lapack-netlib already has its own CMakeLists.txt. Instead include a cmake script with the sources we want.
118
118
if (NOT NOFORTRAN AND NOT NO_LAPACK )
119
119
include ("${PROJECT_SOURCE_DIR} /cmake/lapack.cmake" )
120
- if (NOT NO_LAPACKE )
121
- include ("${PROJECT_SOURCE_DIR} /cmake/lapacke.cmake" )
122
- endif ()
120
+ if (NOT NO_LAPACKE )
121
+ include ("${PROJECT_SOURCE_DIR} /cmake/lapacke.cmake" )
122
+ endif ()
123
123
endif ()
124
124
125
125
# Only generate .def for dll on MSVC and always produce pdb files for debug and release
@@ -169,7 +169,6 @@ foreach (OUTPUTCONFIG ${CMAKE_CONFIGURATION_TYPES})
169
169
endforeach ()
170
170
171
171
enable_testing ()
172
- add_subdirectory (utest )
173
172
174
173
if (USE_THREAD )
175
174
# Add threading library to linker
@@ -183,11 +182,14 @@ if (USE_THREAD)
183
182
endif ()
184
183
185
184
if (NOT MSVC AND NOT NOFORTRAN )
185
+ add_subdirectory (utest )
186
186
# Build test and ctest
187
187
add_subdirectory (test )
188
- if (NOT NO_CBLAS )
188
+ if (NOT NO_CBLAS )
189
189
add_subdirectory (ctest )
190
190
endif ()
191
+ elseif (MSVC )
192
+ add_subdirectory (utest )
191
193
endif ()
192
194
193
195
set_target_properties (${OpenBLAS_LIBNAME} PROPERTIES
You can’t perform that action at this time.
0 commit comments