allow building with zig cc/c++

This commit is contained in:
2025-05-29 23:10:28 +03:00
parent 4ad8861572
commit 61481a1fac
8 changed files with 44 additions and 22 deletions

View File

@@ -0,0 +1,6 @@
set (CMAKE_C_COMPILER zig cc)
set (CMAKE_CXX_COMPILER zig c++)
set (CMAKE_C_COMPILER_TARGET ${TARGET})
set (CMAKE_CXX_COMPILER_TARGET ${TARGET})
set (USING_ZIG TRUE)