mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-06-26 01:21: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()
|
||||
|
||||
target_include_directories(${library} SYSTEM
|
||||
INTERFACE
|
||||
$<INSTALL_INTERFACE:include>
|
||||
)
|
||||
|
||||
target_include_directories(${library}
|
||||
PRIVATE
|
||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src>
|
||||
|
Loading…
Reference in New Issue
Block a user