BUG: remove warning in test of compiler so -Werror does not fail
This commit is contained in:
parent
d05a2baf6c
commit
34744b6bc0
|
@ -17,7 +17,7 @@ IF(NOT CMAKE_C_COMPILER_WORKS)
|
||||||
"#else\n"
|
"#else\n"
|
||||||
"int main(int argc, char* argv[])\n"
|
"int main(int argc, char* argv[])\n"
|
||||||
"#endif\n"
|
"#endif\n"
|
||||||
"{ return argc-1;}\n")
|
"{ (void)argv; return argc-1;}\n")
|
||||||
TRY_COMPILE(CMAKE_C_COMPILER_WORKS ${CMAKE_BINARY_DIR}
|
TRY_COMPILE(CMAKE_C_COMPILER_WORKS ${CMAKE_BINARY_DIR}
|
||||||
${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/testCCompiler.c
|
${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/testCCompiler.c
|
||||||
OUTPUT_VARIABLE OUTPUT)
|
OUTPUT_VARIABLE OUTPUT)
|
||||||
|
|
Loading…
Reference in New Issue