mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-06-27 02:01:12 +08:00
Remove system install interface "include"
When using installed ftxui with cmake find_package, cmake is unable to configure ftxui::screen, and it complains about a path "/include" in its INTERFACE_INCLUDE_DIRECTORIES. Removing the SYSTEM INSTALL_INTERFACE from ftxui_set_options seems to fix the issue without causing any other problems in building and using the library.
This commit is contained in:
parent
f495ce029c
commit
9a707367b7
@ -30,11 +30,6 @@ function(ftxui_set_options library)
|
|||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
target_include_directories(${library} SYSTEM
|
|
||||||
INTERFACE
|
|
||||||
$<INSTALL_INTERFACE:include>
|
|
||||||
)
|
|
||||||
|
|
||||||
target_include_directories(${library}
|
target_include_directories(${library}
|
||||||
PRIVATE
|
PRIVATE
|
||||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src>
|
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src>
|
||||||
|
Loading…
Reference in New Issue
Block a user