mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-27 21:19:18 +00:00
15 lines
296 B
CMake
15 lines
296 B
CMake
# cmake support for modp_b64 by David Capello
|
|
|
|
check_c_source_runs("
|
|
int main() {
|
|
unsigned long value = 0x40302010ul;
|
|
return (((unsigned char*)&value)[0] != 0x10) ? 0: 1;
|
|
}
|
|
" WORDS_BIGENDIAN)
|
|
|
|
if(WORDS_BIGENDIAN)
|
|
add_definitions(-DWORDS_BIGENDIAN)
|
|
endif()
|
|
|
|
add_library(modp_b64 modp_b64.c)
|