summaryrefslogtreecommitdiff
path: root/source/luametatex/cmake/luaoptional.cmake
blob: adcb790cf3c351041a66867aa8f488f9ecd3bfe2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
set(luaoptional_sources

    source/luaoptional/lmtsqlite.c
    source/luaoptional/lmtmysql.c
    source/luaoptional/lmtpostgress.c
    source/luaoptional/lmtcurl.c
    source/luaoptional/lmtghostscript.c
    source/luaoptional/lmtimagemagick.c
    source/luaoptional/lmtgraphicsmagick.c
    source/luaoptional/lmtzint.c
    source/luaoptional/lmtmujs.c
    source/luaoptional/lmtlzo.c
    source/luaoptional/lmtlz4.c
    source/luaoptional/lmtkpse.c
    source/luaoptional/lmthb.c
    source/luaoptional/lmtzstd.c
    source/luaoptional/lmtlzma.c
    source/luaoptional/lmtforeign.c

)

add_library(luaoptional STATIC ${luaoptional_sources})

target_include_directories(luaoptional PRIVATE
    .
    source/.
    source/luacore/lua54/src
    source/libraries/mimalloc/include
)