Commit 07224779 by Maarten L. Hekkelman

find_program works a bit different than expected

parent c031a3c2
...@@ -45,7 +45,6 @@ jobs: ...@@ -45,7 +45,6 @@ jobs:
cmake -B ${{ steps.strings.outputs.build-output-dir }} cmake -B ${{ steps.strings.outputs.build-output-dir }}
-DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }} -DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }}
-DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_TYPE=Release
-DCIFPP_DOWNLOAD_CCD=OFF
-S ${{ github.workspace }} -S ${{ github.workspace }}
- name: Build - name: Build
......
...@@ -377,7 +377,7 @@ if(CIFPP_DOWNLOAD_CCD) ...@@ -377,7 +377,7 @@ if(CIFPP_DOWNLOAD_CCD)
# decompress it ourselves. # decompress it ourselves.
find_program(GUNZIP gunzip) find_program(GUNZIP gunzip)
if(GUNZIP) if(NOT GUNZIP STREQUAL "GUNZIP-NOTFOUND")
if(NOT EXISTS "${COMPONENTS_CIF}.gz") if(NOT EXISTS "${COMPONENTS_CIF}.gz")
file(DOWNLOAD https://files.wwpdb.org/pub/pdb/data/monomers/components.cif.gz ${COMPONENTS_CIF}.gz file(DOWNLOAD https://files.wwpdb.org/pub/pdb/data/monomers/components.cif.gz ${COMPONENTS_CIF}.gz
SHOW_PROGRESS STATUS CCD_FETCH_STATUS) SHOW_PROGRESS STATUS CCD_FETCH_STATUS)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment