We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
void main()
int main()
1 parent 4b8a925 commit d2c2de1Copy full SHA for d2c2de1
1 file changed
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