diff options
author | iphydf <iphydf@users.noreply.github.com> | 2019-01-06 17:07:17 +0000 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2019-01-06 19:28:40 +0000 |
commit | e08f631547612a807922adc50f12ed8d2231a955 (patch) | |
tree | 6e68fdd60784249933575afb1ad8015a68b443eb | |
parent | 0f8b5c8255bb4a82487338710bb482c5e56fba1c (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.
-rw-r--r-- | cmake/StrictAbi.cmake | 2 |
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) |
54 | endif() | 54 | endif() |
55 | 55 | ||
56 | if(STRICT_ABI) | 56 | if(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() |