From 9a707367b79b622d9ebb34f29d2334f41d700cc9 Mon Sep 17 00:00:00 2001 From: Shriram Ravindranathan Date: Sat, 17 Feb 2024 18:09:47 +0530 Subject: [PATCH] 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. --- cmake/ftxui_set_options.cmake | 5 ----- 1 file changed, 5 deletions(-) diff --git a/cmake/ftxui_set_options.cmake b/cmake/ftxui_set_options.cmake index ad4acaae..55d6171f 100644 --- a/cmake/ftxui_set_options.cmake +++ b/cmake/ftxui_set_options.cmake @@ -30,11 +30,6 @@ function(ftxui_set_options library) ) endif() - target_include_directories(${library} SYSTEM - INTERFACE - $ - ) - target_include_directories(${library} PRIVATE $