mirror of
https://github.com/jmcnamara/libxlsxwriter.git
synced 2026-05-15 14:15:54 -06:00
parent
31b331462d
commit
44e72c5862
1 changed files with 7 additions and 0 deletions
|
|
@ -243,6 +243,13 @@ if(BUILD_TESTS)
|
|||
list(APPEND LXW_PRIVATE_COMPILE_DEFINITIONS TESTING)
|
||||
endif()
|
||||
|
||||
# Define "LXW_BIG_ENDIAN" macro on big-endian architectures
|
||||
include(TestBigEndian)
|
||||
TEST_BIG_ENDIAN(LXW_TARGET_BIG_ENDIAN)
|
||||
if(LXW_TARGET_BIG_ENDIAN)
|
||||
list(APPEND LXW_PRIVATE_COMPILE_DEFINITIONS LXW_BIG_ENDIAN)
|
||||
endif()
|
||||
|
||||
file(GLOB LXW_SOURCES src/*.c)
|
||||
file(GLOB_RECURSE LXW_HEADERS RELATIVE include *.h)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue