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.
This commit is contained in:
iphydf 2019-01-06 17:07:17 +00:00
parent 0f8b5c8255
commit e08f631547
No known key found for this signature in database
GPG Key ID: 3855DBA2D74403C9

View File

@ -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()