Skip to content

Commit

Permalink
fix: electron compatability
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed Dec 6, 2020
1 parent eeb65bb commit 7577ad4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ set(SOURCE_FILES
"src/exports.cc"
)

option(WITH_JPEG8 "" 1)
option(ENABLE_SHARED "" 0)
add_subdirectory("deps/libjpeg-turbo")

add_library(${PROJECT_NAME} SHARED ${SOURCE_FILES} ${HEADER_FILES} ${CMAKE_JS_SRC})
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@julusian/jpeg-turbo",
"version": "1.0.0-2",
"version": "1.0.0-3",
"description": "Limited libjpeg-turbo bindings for Node.js.",
"keywords": [
"jpeg",
Expand Down

0 comments on commit 7577ad4

Please sign in to comment.