From 6bcceefb04115ab83160f645eca27eecad77ab3b Mon Sep 17 00:00:00 2001 From: Mathias Agopian Date: Thu, 14 Feb 2019 17:41:50 -0800 Subject: [PATCH] always use the static version of libc++abi This is make it a lot easier to distributes binaries like cmgen or matc. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5d1ae19a8a..a277606c4e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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")