mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-06 19:38:14 +00:00
cmake: fix sdlcpu.cmake for C89 compilers
This commit is contained in:
@@ -61,8 +61,8 @@ const char *arch_${known_arch} = \"INFO<${known_arch}=\" ARCH_${known_arch} \">\
|
|||||||
|
|
||||||
set(src_arch_detect "${src_vars}
|
set(src_arch_detect "${src_vars}
|
||||||
int main(int argc, char *argv[]) {
|
int main(int argc, char *argv[]) {
|
||||||
(void)argv;
|
|
||||||
int result = 0;
|
int result = 0;
|
||||||
|
(void)argv;
|
||||||
${src_main}
|
${src_main}
|
||||||
return result;
|
return result;
|
||||||
}")
|
}")
|
||||||
|
Reference in New Issue
Block a user