From cf4fdf257e51b2a18bc678b4964785b9c66c198c Mon Sep 17 00:00:00 2001 From: Arthur Sonzogni Date: Sun, 16 May 2021 11:59:20 +0200 Subject: [PATCH] Build the libraries statically. (#96) This may resolve: https://github.com/ArthurSonzogni/FTXUI/issues/89 --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 22b3782..c6d1e33 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -27,7 +27,7 @@ enable_testing() find_package(Threads) -add_library(screen +add_library(screen STATIC src/ftxui/screen/box.cpp src/ftxui/screen/color.cpp src/ftxui/screen/color_info.cpp @@ -42,7 +42,7 @@ add_library(screen include/ftxui/screen/string.hpp ) -add_library(dom +add_library(dom STATIC include/ftxui/dom/elements.hpp include/ftxui/dom/node.hpp include/ftxui/dom/requirement.hpp @@ -75,7 +75,7 @@ add_library(dom src/ftxui/dom/vbox.cpp ) -add_library(component +add_library(component STATIC include/ftxui/component/button.hpp include/ftxui/component/captured_mouse.hpp include/ftxui/component/checkbox.hpp