Skip to content

Commit

Permalink
Promote dkjson to standard dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Frenzie committed Jan 7, 2025
1 parent fbebb8b commit fb3206c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
4 changes: 3 additions & 1 deletion cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,9 @@ declare_project(thirdparty/czmq DEPENDS libzmq ${EXCLUDE_FROM_ALL})
# djvulibre
declare_project(thirdparty/djvulibre DEPENDS libjpeg-turbo EXCLUDE_FROM_ALL)

# dkjson
declare_project(thirdparty/dkjson)

# dropbear
if(CERVANTES OR KINDLE OR KOBO OR POCKETBOOK)
set(EXCLUDE_FROM_ALL)
Expand Down Expand Up @@ -421,7 +424,6 @@ if(EMULATE_READER)
foreach(PRJ
busted
cluacov
dkjson
lua-term
lua_cliargs
luacov
Expand Down
10 changes: 10 additions & 0 deletions thirdparty/dkjson/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Build in source tree.
set(BINARY_DIR ${SOURCE_DIR})

append_install_commands(INSTALL_CMD dkjson.lua DESTINATION common)

external_project(
DOWNLOAD URL d7754634dcbe6e95f3b6b55fd4ca5ceb
http://dkolf.de/dkjson-lua/dkjson-2.8.tar.gz
INSTALL_COMMAND ${INSTALL_CMD}
)
4 changes: 0 additions & 4 deletions thirdparty/spec/dkjson/CMakeLists.txt

This file was deleted.

0 comments on commit fb3206c

Please sign in to comment.