summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2019-01-06 17:07:17 +0000
committeriphydf <iphydf@users.noreply.github.com>2019-01-06 19:28:40 +0000
commite08f631547612a807922adc50f12ed8d2231a955 (patch)
tree6e68fdd60784249933575afb1ad8015a68b443eb /cmake
parent0f8b5c8255bb4a82487338710bb482c5e56fba1c (diff)
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.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/StrictAbi.cmake2
1 files changed, 1 insertions, 1 deletions
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)
53 set(STRICT_ABI OFF) 53 set(STRICT_ABI OFF)
54endif() 54endif()
55 55
56if(STRICT_ABI) 56if(STRICT_ABI AND NOT ENABLE_STATIC)
57 if(AUTOTEST) 57 if(AUTOTEST)
58 message("AUTOTEST option is incompatible with STRICT_ABI. Disabling AUTOTEST.") 58 message("AUTOTEST option is incompatible with STRICT_ABI. Disabling AUTOTEST.")
59 endif() 59 endif()