mirror of
https://github.com/webmproject/libwebp.git
synced 2024-11-19 20:08:28 +01:00
Fix CMake math library.
Just in case we have a warning. Change-Id: I5f2aabf5f4adaaf9ba6c4fbbbf352603259e8081
This commit is contained in:
parent
6aa3e8aaf3
commit
50d8345ae6
@ -58,10 +58,10 @@ set(WEBP_HAVE_GL ${OPENGL_FOUND})
|
||||
# We do not look for it as it is not found when
|
||||
# cross-compiling, while it is here.
|
||||
check_c_source_compiles("
|
||||
#include <math.h>
|
||||
int main(int argc, char** argv) {
|
||||
return pow(argc, 2.5);
|
||||
}
|
||||
#include <math.h>
|
||||
int main(int argc, char** argv) {
|
||||
return (int)pow(argc, 2.5);
|
||||
}
|
||||
"
|
||||
HAVE_MATH_LIBRARY
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user