aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-04-29 20:50:55 +0200
committerHampusM <hampus@hampusmat.com>2022-04-29 20:50:55 +0200
commit41866b0febe36ca2f7d6c02ffce0ffea3f0ce425 (patch)
tree7266b58e76d1269a8f91154a4917682f5eeb7ba8
parent46b371e7c5298cfe36a59ac5108a718b6214decc (diff)
docs: remove set stdlib to libc++ in basic example
-rw-r--r--examples/basic/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/basic/CMakeLists.txt b/examples/basic/CMakeLists.txt
index 930944e..afe03ee 100644
--- a/examples/basic/CMakeLists.txt
+++ b/examples/basic/CMakeLists.txt
@@ -33,10 +33,10 @@ target_compile_options(
-Wsign-conversion -Wsign-promo
-Wstrict-overflow=5 -Wswitch-default
-Wundef -Werror
- -pedantic -fsanitize=address -fno-exceptions -stdlib=libc++
+ -pedantic -fsanitize=address -fno-exceptions
)
-target_link_options(${PROJECT_NAME} PRIVATE -fsanitize=address -stdlib=libc++)
+target_link_options(${PROJECT_NAME} PRIVATE -fsanitize=address)
target_include_directories(${PROJECT_NAME} PRIVATE src)