mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
set compile flags for zip_cpp
This commit is contained in:
parent
6fece14cfb
commit
08dd1b553b
1 changed files with 3 additions and 0 deletions
|
|
@ -396,6 +396,9 @@ if(ZIG_TEST_COVERAGE)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_library(zig_cpp STATIC ${ZIG_CPP_SOURCES})
|
add_library(zig_cpp STATIC ${ZIG_CPP_SOURCES})
|
||||||
|
set_target_properties(zig_cpp PROPERTIES
|
||||||
|
COMPILE_FLAGS ${EXE_CFLAGS}
|
||||||
|
)
|
||||||
|
|
||||||
add_executable(zig ${ZIG_SOURCES})
|
add_executable(zig ${ZIG_SOURCES})
|
||||||
set_target_properties(zig PROPERTIES
|
set_target_properties(zig PROPERTIES
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue