mirror of
https://github.com/neocturne/fastd.git
synced 2025-05-14 12:25:07 +02:00
17 lines
242 B
CMake
17 lines
242 B
CMake
include(CheckCSourceCompiles)
|
|
|
|
check_c_source_compiles("
|
|
#ifndef __i386__
|
|
#error not x86
|
|
#endif
|
|
|
|
int main() {return 0;}
|
|
" ARCH_X86)
|
|
|
|
check_c_source_compiles("
|
|
#ifndef __x86_64__
|
|
#error not x86_64
|
|
#endif
|
|
|
|
int main() {return 0;}
|
|
" ARCH_X86_64)
|