Don't override PREFIX target property (#340)

PREFIX is by default "lib", which most of the libraries use.
this changes makes the library files libftxui-foo.a
as ArthurSonzogni/FTXUI#140 intended originally
This commit is contained in:
ericLemanissier
2022-02-19 10:48:07 +01:00
committed by GitHub
parent 63e8dadad9
commit f95ed885bb
2 changed files with 8 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
function(ftxui_set_options library)
set_target_properties(${library} PROPERTIES PREFIX "ftxui-")
set_target_properties(${library} PROPERTIES OUTPUT_NAME "ftxui-${library}")
target_include_directories(${library}