mirror of
https://github.com/opencv/opencv.git
synced 2024-11-24 11:10:21 +08:00
2b44c0b649
- added compile check with multiple tries for different configurations - restored find_package(LAPACK) - avoided modification of OPENCV_LINKER_LIBS
15 lines
352 B
C++
15 lines
352 B
C++
#include "opencv_lapack.h"
|
|
|
|
static char* check_fn1 = (char*)sgesv_;
|
|
static char* check_fn2 = (char*)sposv_;
|
|
static char* check_fn3 = (char*)spotrf_;
|
|
static char* check_fn4 = (char*)sgesdd_;
|
|
|
|
int main(int argc, char* argv[])
|
|
{
|
|
(void)argv;
|
|
if(argc > 1000)
|
|
return check_fn1[0] + check_fn2[0] + check_fn3[0] + check_fn4[0];
|
|
return 0;
|
|
}
|