Skip to content

Commit

Permalink
update cmake setting to use renamed cJSON.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Feb 10, 2022
1 parent 70136ca commit 78b6d29
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions console/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -194,9 +194,11 @@ if(BATCH_VERSION)
nifti1_io_core.cpp
nii_foreign.cpp
nii_ortho.cpp
nii_dicom_batch.cpp
cJSON.c
base64.c)
nii_dicom_batch.cpp)

if(USE_JNIFTI)
set(DCM2NIIBATCH_SRCS ${DCM2NIIBATCH_SRCS} cJSON.cpp base64.cpp)
endif()

if(USE_JPEGLS)
add_executable(dcm2niibatch ${DCM2NIIBATCH_SRCS} ${CHARLS_SRCS})
Expand Down

0 comments on commit 78b6d29

Please sign in to comment.