Only run utest without NOFORTRAN, same as Makefile. Linux now compiles.
This commit is contained in:
parent
37858d1146
commit
b9ec72546c
|
@ -169,7 +169,6 @@ foreach (OUTPUTCONFIG ${CMAKE_CONFIGURATION_TYPES})
|
|||
endforeach()
|
||||
|
||||
enable_testing()
|
||||
add_subdirectory(utest)
|
||||
|
||||
if (USE_THREAD)
|
||||
# Add threading library to linker
|
||||
|
@ -183,11 +182,14 @@ if (USE_THREAD)
|
|||
endif()
|
||||
|
||||
if (NOT MSVC AND NOT NOFORTRAN)
|
||||
add_subdirectory(utest)
|
||||
# Build test and ctest
|
||||
add_subdirectory(test)
|
||||
if(NOT NO_CBLAS)
|
||||
add_subdirectory(ctest)
|
||||
endif()
|
||||
elseif(MSVC)
|
||||
add_subdirectory(utest)
|
||||
endif()
|
||||
|
||||
set_target_properties(${OpenBLAS_LIBNAME} PROPERTIES
|
||||
|
|
Loading…
Reference in New Issue