From 349e7a17d3a881cdce469f3395383f501529af85 Mon Sep 17 00:00:00 2001 From: "d.levin256@gmail.com" Date: Fri, 13 Sep 2024 03:54:53 +0100 Subject: [PATCH] Leave stdlib unspecified for Android --- CMakeLists.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4de45e1..243d04e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -325,9 +325,8 @@ if (WIN32) add_definitions(-D_ENABLE_EXTENDED_ALIGNED_STORAGE) endif () -if (IOS) - set(STD_LIB) -else () +set(STD_LIB) +if (NOT IOS AND NOT ANDROID) set(STD_LIB stdc++) endif ()