mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
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:
parent
0f8b5c8255
commit
e08f631547
|
@ -53,7 +53,7 @@ if(WIN32 OR APPLE)
|
||||||
set(STRICT_ABI OFF)
|
set(STRICT_ABI OFF)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(STRICT_ABI)
|
if(STRICT_ABI AND NOT ENABLE_STATIC)
|
||||||
if(AUTOTEST)
|
if(AUTOTEST)
|
||||||
message("AUTOTEST option is incompatible with STRICT_ABI. Disabling AUTOTEST.")
|
message("AUTOTEST option is incompatible with STRICT_ABI. Disabling AUTOTEST.")
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user