summaryrefslogtreecommitdiff
path: root/source/luametatex/cmake/mingw-64.cmake
blob: 294ef5e556487b7f17151a49cbc8b84cc8269935 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# if (NOT __MINGW64_TOOLCHAIN_)
#     add_compile_options(-DLUASOCKET_INET_PTON)
# endif()

set(CMAKE_SYSTEM_NAME Windows)
set(TOOLCHAIN_PREFIX  x86_64-w64-mingw32)
set(CMAKE_C_COMPILER  ${TOOLCHAIN_PREFIX}-gcc)

add_compile_options(-mtune=nocona)

set(LUAMETATEX_MINGW 64)

# set(CMAKE_EXE_LINKER_FLAGS "-static-libgcc")