mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 17:19:03 -04:00
[CMake] prefer local includes to installed headers
This commit is contained in:
parent
0686a1c390
commit
5109ff5cd8
@ -496,6 +496,7 @@ foreach(f ${POCSRCS})
|
||||
get_filename_component(fe "${f}" NAME_WE)
|
||||
add_executable(${fe} ${f})
|
||||
target_include_directories(${fe}
|
||||
BEFORE
|
||||
PRIVATE include src "${TERMINFO_INCLUDE_DIRS}"
|
||||
"${PROJECT_BINARY_DIR}/include"
|
||||
)
|
||||
@ -511,6 +512,7 @@ foreach(f ${POCPPSRCS})
|
||||
get_filename_component(fe "${f}" NAME_WE)
|
||||
add_executable(${fe} ${f})
|
||||
target_include_directories(${fe}
|
||||
BEFORE
|
||||
PRIVATE include src "${TERMINFO_INCLUDE_DIRS}"
|
||||
"${PROJECT_BINARY_DIR}/include"
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user