always use the static version of libc++abi

This is make it a lot easier to distributes binaries like cmgen or
matc.
This commit is contained in:
Mathias Agopian
2019-02-14 18:05:54 -08:00
committed by Mathias Agopian
parent 8a850ff908
commit 6bcceefb04
+1 -1
View File
@@ -122,7 +122,7 @@ if (LINUX)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++")
if (FILAMENT_REQUIRES_CXXABI)
# Required in CI environment with custom libc++ and libc++abi
link_libraries("-lc++abi")
link_libraries(libc++abi.a)
endif()
# To distribute our binaries, we must remove the dependency on libc++ and libgcc.
if (CMAKE_BUILD_TYPE STREQUAL "Release")