Skip to content

Commit 409ad00

Browse files
author
Clemens Vasters
committed
Fix C SDK: disable cJSON install target via CMake option
1 parent cdfefe0 commit 409ad00

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/c.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ jobs:
178178

179179
- name: Install to staging directory
180180
working-directory: c
181-
run: cmake --install build --prefix staging --config Release --component json_structure
181+
run: cmake --install build --prefix staging --config Release
182182

183183
- name: Create archive (Unix)
184184
if: runner.os != 'Windows'

c/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ if(JS_FETCH_DEPENDENCIES)
7474

7575
# Configure cJSON options
7676
set(ENABLE_CJSON_TEST OFF CACHE BOOL "" FORCE)
77+
set(ENABLE_CJSON_INSTALL OFF CACHE BOOL "" FORCE)
7778
set(BUILD_SHARED_LIBS OFF CACHE BOOL "" FORCE)
7879
set(BUILD_SHARED_AND_STATIC_LIBS OFF CACHE BOOL "" FORCE)
7980
set(CJSON_OVERRIDE_BUILD_SHARED_LIBS ON CACHE BOOL "" FORCE)

0 commit comments

Comments
 (0)