From 02d3d926731ca3d6328fb26e6f1174dd3f22378a Mon Sep 17 00:00:00 2001 From: Baptiste Mouginot Date: Thu, 5 Dec 2024 18:28:11 +0100 Subject: [PATCH] only static off --- cmake/FindMOAB.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/FindMOAB.cmake b/cmake/FindMOAB.cmake index 337f12756..3a04f2533 100644 --- a/cmake/FindMOAB.cmake +++ b/cmake/FindMOAB.cmake @@ -13,7 +13,7 @@ find_path(MOAB_CMAKE_CONFIG # First check if we are forcing the download of MOAB if (DDL_INSTALL_DEPS) - IF(NOT DAGMC_BUILD_SHARED_LIBS OR DAGMC_BUILD_STATIC_LIBS) + IF(DAGMC_BUILD_STATIC_LIBS) message(FATAL_ERROR "DDL_INSTALL_DEPS is ONLY compatible with shared libraries.") ENDIF() IF(NOT MOAB_VERSION)