I am trying to build a sub-set of the DCMTK libraries by specifying the DCMTK_MODULES variable with the CMake command. I tried different ways of passing the variable and its value to CMake. However, it either only catches the first module:
Code: Select all
cmake -D BUILD_APPS=OFF -D DCMTK_MODULES=ofstd oflog dcmdata dcmimgle dcmimage dcmjpeg dcmtls dcmnet dcmsr <...>
or
-D DCMTK_MODULES:STRINGS=ofstd oflog dcmdata dcmimgle dcmimage dcmjpeg dcmtls dcmnet dcmsr <...>
Code: Select all
"-DDCMTK_MODULES:STRINGS=ofstd oflog dcmdata dcmimgle dcmimage dcmjpeg dcmtls dcmnet dcmsr" <...>
Code: Select all
CMake Error at CMakeLists.txt:88 (add_subdirectory):
add_subdirectory given source "ofstd oflog dcmdata dcmimgle dcmimage
dcmjpeg dcmtls dcmnet dcmsr" which is not an existing directory.