From 1dc435e5631fbdd010406a8df966a1621451602c Mon Sep 17 00:00:00 2001 From: Michael Onken Date: Thu, 11 Jan 2024 14:58:12 +0100 Subject: [PATCH] Enable support libs in cmake. --- .github/workflows/cmake-win.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cmake-win.yml b/.github/workflows/cmake-win.yml index a098ceeeaa..ed4007d60f 100644 --- a/.github/workflows/cmake-win.yml +++ b/.github/workflows/cmake-win.yml @@ -34,8 +34,10 @@ jobs: - name: Uncompress Support lirbaries run: | 7z x dcmtk_support.zip -oc:\dcmtk_support - echo "Content of c:\dcmtk_support:" - ls c:\dcmtk_support + cd c:\dcmtk_support + move dcmtk* dcmtk_support + echo "Content of c:\dcmtk_support\libs" + ls c:\dcmtk_support\libs shell: pwsh - name: Prepare environment @@ -54,7 +56,7 @@ jobs: echo "Step 2" cd ${{ github.workspace }}\dcmtk-build echo "Step 3" - cmake -G "Visual Studio 17 2022" -Ax64 -DDCMTK_MODULES:STR="ofstd;oflog;oficonv;dcmdata;dcmimgle;dcmimage;dcmjpeg;dcmjpls;dcmtls;dcmnet;dcmsr;dcmsign;dcmwlm;dcmqrdb;dcmpstat;dcmrt;dcmiod;dcmfg;dcmseg;dcmtract;dcmpmap;dcmect" -DDCMTK_ENABLE_BUILTIN_OFICONV_DATA:BOOL=On -DBUILD_SHARED_LIBS:BOOL=ON -DCMAKE_INSTALL_PREFIX:PATH=${{ github.workspace }}\dcmtk-${{ env.NOW }}-${{ env.COMMIT_SHORT_SHA }} ${{ github.workspace }} + cmake -G "Visual Studio 17 2022" -Ax64 -DDCMTK_MODULES:STR="ofstd;oflog;oficonv;dcmdata;dcmimgle;dcmimage;dcmjpeg;dcmjpls;dcmtls;dcmnet;dcmsr;dcmsign;dcmwlm;dcmqrdb;dcmpstat;dcmrt;dcmiod;dcmfg;dcmseg;dcmtract;dcmpmap;dcmect" -DDCMTK_ENABLE_BUILTIN_OFICONV_DATA:BOOL=On -DBUILD_SHARED_LIBS:BOOL=ON -DDCMTK_SUPPORT_LIBRARIES_DIR=C:\support_libs\libs -DCMAKE_INSTALL_PREFIX:PATH=${{ github.workspace }}\dcmtk-${{ env.NOW }}-${{ env.COMMIT_SHORT_SHA }} ${{ github.workspace }} - name: Build dcmtk run: |