mirror of
https://github.com/ziglang/zig.git
synced 2026-01-10 01:15:14 +00:00
Merge pull request #738 from corngood/cygwin-fixes
make lld include paths private
This commit is contained in:
commit
15eb28efaf
@ -172,17 +172,17 @@ else()
|
||||
COMPILE_FLAGS ${ZIG_LLD_COMPILE_FLAGS}
|
||||
LINK_FLAGS " "
|
||||
)
|
||||
target_include_directories(embedded_lld_lib PUBLIC
|
||||
target_include_directories(embedded_lld_lib PRIVATE
|
||||
"${CMAKE_SOURCE_DIR}/deps/lld/include"
|
||||
"${CMAKE_SOURCE_DIR}/deps/lld-prebuilt"
|
||||
)
|
||||
target_include_directories(embedded_lld_elf PUBLIC
|
||||
target_include_directories(embedded_lld_elf PRIVATE
|
||||
"${CMAKE_SOURCE_DIR}/deps/lld/ELF"
|
||||
"${CMAKE_SOURCE_DIR}/deps/lld/include"
|
||||
"${CMAKE_SOURCE_DIR}/deps/lld-prebuilt/ELF"
|
||||
"${CMAKE_SOURCE_DIR}/deps/lld-prebuilt"
|
||||
)
|
||||
target_include_directories(embedded_lld_coff PUBLIC
|
||||
target_include_directories(embedded_lld_coff PRIVATE
|
||||
"${CMAKE_SOURCE_DIR}/deps/lld/COFF"
|
||||
"${CMAKE_SOURCE_DIR}/deps/lld/include"
|
||||
"${CMAKE_SOURCE_DIR}/deps/lld-prebuilt/COFF"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user