mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-02 09:40:15 +00: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…
Reference in New Issue
Block a user