Fix FTBFS due to incomplete declaration of main function in CMake tests.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/5/head
Slávek Banko 1 year ago
parent 7cbd7f2d42
commit 871b5f0c95
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -41,7 +41,7 @@ endif()
check_cxx_source_compiles("
#include <signal.h>
#include <${SWORD_INCLUDE_DIRS}/sysdata.h>
main() {}
int main() {}
"
SWORD_WITHOUT_SANE_USERSPACE_TYPES
)
@ -50,7 +50,7 @@ if( NOT SWORD_WITHOUT_SANE_USERSPACE_TYPES )
#define __SANE_USERSPACE_TYPES__
#include <signal.h>
#include <${SWORD_INCLUDE_DIRS}/sysdata.h>
main() {}
int main() {}
"
SWORD_WITH_SANE_USERSPACE_TYPES
)

Loading…
Cancel
Save