From a622b284381f386caafdf4e8bfab3eca02d8122b Mon Sep 17 00:00:00 2001 From: Christopher Woods Date: Wed, 6 Dec 2023 17:34:42 +0000 Subject: [PATCH] Fix for cmake error on GH Actions --- wrapper/Convert/SireGemmi/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wrapper/Convert/SireGemmi/CMakeLists.txt b/wrapper/Convert/SireGemmi/CMakeLists.txt index 24d82fd04..32fdd5e5d 100644 --- a/wrapper/Convert/SireGemmi/CMakeLists.txt +++ b/wrapper/Convert/SireGemmi/CMakeLists.txt @@ -16,7 +16,8 @@ if (${gemmi_FOUND}) if (${GEMMI_LIBRARY} MATCHES "\\.a$") message( STATUS "GEMMI_LIBRARY is a static library." ) message( STATUS "We can only link against the dynamic library." ) - unset(gemmi_FOUND) + message( STATUS "Disabling gemmi PDBx/mmCIF support.") + set(gemmi_FOUND FALSE) endif() endif()