authorgravatar for corngood@gmail.comDavid McFarland <corngood@gmail.com> 2018-02-02 10:49:31-04:00
committergravatar for corngood@gmail.comDavid McFarland <corngood@gmail.com> 2018-02-02 10:49:31-04:00
log4ec856b0f05b2ee175ce2c119e36bff37f02195c
tree7c9a1037c3cebee4a203d9eda97ef254eda034e6
parent02b61224b234b017cd2397ee6e8936c220b959f5

make lld include paths private

This fixes a build failure on cygwin caused by <string.h> -> <strings.h> taking the latter from one of the lld paths.

1 files changed, 3 insertions(+), 3 deletions(-)

CMakeLists.txt+3-3
......@@ -172,17 +172,17 @@ else()
172172 COMPILE_FLAGS ${ZIG_LLD_COMPILE_FLAGS}
173173 LINK_FLAGS " "
174174 )
175 target_include_directories(embedded_lld_lib PUBLIC
175 target_include_directories(embedded_lld_lib PRIVATE
176176 "${CMAKE_SOURCE_DIR}/deps/lld/include"
177177 "${CMAKE_SOURCE_DIR}/deps/lld-prebuilt"
178178 )
179 target_include_directories(embedded_lld_elf PUBLIC
179 target_include_directories(embedded_lld_elf PRIVATE
180180 "${CMAKE_SOURCE_DIR}/deps/lld/ELF"
181181 "${CMAKE_SOURCE_DIR}/deps/lld/include"
182182 "${CMAKE_SOURCE_DIR}/deps/lld-prebuilt/ELF"
183183 "${CMAKE_SOURCE_DIR}/deps/lld-prebuilt"
184184 )
185 target_include_directories(embedded_lld_coff PUBLIC
185 target_include_directories(embedded_lld_coff PRIVATE
186186 "${CMAKE_SOURCE_DIR}/deps/lld/COFF"
187187 "${CMAKE_SOURCE_DIR}/deps/lld/include"
188188 "${CMAKE_SOURCE_DIR}/deps/lld-prebuilt/COFF"