diff --git a/cmake/ftxui_install.cmake b/cmake/ftxui_install.cmake index 8977814..a3aacee 100644 --- a/cmake/ftxui_install.cmake +++ b/cmake/ftxui_install.cmake @@ -1,8 +1,8 @@ include(GNUInstallDirs) install(TARGETS screen dom component EXPORT ftxui-export - LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}/ftxui/ - ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}/ftxui/ + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} + ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} ) install(DIRECTORY include/ftxui DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) diff --git a/cmake/ftxui_set_options.cmake b/cmake/ftxui_set_options.cmake index 682138c..ecc42c9 100644 --- a/cmake/ftxui_set_options.cmake +++ b/cmake/ftxui_set_options.cmake @@ -1,4 +1,7 @@ function(ftxui_set_options library) + set_target_properties(${library} PROPERTIES PREFIX "ftxui-") + + target_include_directories(${library} PUBLIC $