From e08f631547612a807922adc50f12ed8d2231a955 Mon Sep 17 00:00:00 2001 From: iphydf Date: Sun, 6 Jan 2019 17:07:17 +0000 Subject: [PATCH] Enable auto tests under STRICT_ABI if static libs are available. STRICT_ABI only breaks linkage if static libraries are not available, because then we try to link against shared libraries with hidden symbols. --- cmake/StrictAbi.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/StrictAbi.cmake b/cmake/StrictAbi.cmake index 2dc5c5e0..22b1ca44 100644 --- a/cmake/StrictAbi.cmake +++ b/cmake/StrictAbi.cmake @@ -53,7 +53,7 @@ if(WIN32 OR APPLE) set(STRICT_ABI OFF) endif() -if(STRICT_ABI) +if(STRICT_ABI AND NOT ENABLE_STATIC) if(AUTOTEST) message("AUTOTEST option is incompatible with STRICT_ABI. Disabling AUTOTEST.") endif()