We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4b8a925 + d2c2de1 commit d811d85Copy full SHA for d811d85
CBLAS/CMakeLists.txt
@@ -22,7 +22,7 @@ if(NOT FortranCInterface_GLOBAL_FOUND OR NOT FortranCInterface_MODULE_FOUND)
22
endif()
23
24
include(CheckCSourceCompiles)
25
-check_c_source_compiles("void __attribute__((weak)) main() {};"
+check_c_source_compiles("int __attribute__((weak)) main() {};"
26
HAS_ATTRIBUTE_WEAK_SUPPORT)
27
28
include_directories(include ${LAPACK_BINARY_DIR}/include)
0 commit comments