Skip to content

Instantly share code, notes, and snippets.

@mikdusan
Created February 26, 2024 05:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikdusan/8bfda762f2795fff13a521ee075e3c71 to your computer and use it in GitHub Desktop.
Save mikdusan/8bfda762f2795fff13a521ee075e3c71 to your computer and use it in GitHub Desktop.
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9c06d24715..26777640d8 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -906,11 +906,7 @@ if(ZIG_SINGLE_THREADED)
else()
set(ZIG_SINGLE_THREADED_ARG "")
endif()
-if(ZIG_STATIC AND NOT MSVC)
- set(ZIG_STATIC_ARG "-Duse-zig-libcxx")
-else()
- set(ZIG_STATIC_ARG "")
-endif()
+set(ZIG_STATIC_ARG "")
if(CMAKE_POSITION_INDEPENDENT_CODE OR ZIG_PIE)
set(ZIG_PIE_ARG "-Dpie")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment