Fix linker warning on duplicate libraries

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
This commit is contained in:
Thomas Lauf 2023-12-19 19:08:53 +01:00
parent 7b4a234f03
commit 82ca6d4027

View file

@ -70,8 +70,8 @@ add_library (libshared STATIC ${libshared_SRCS})
add_executable (timew_executable timew.cpp)
add_executable (lex_executable lex.cpp)
target_link_libraries (timew_executable timew libshared commands timew libshared ${TIMEW_LIBRARIES})
target_link_libraries (lex_executable timew libshared libshared ${TIMEW_LIBRARIES})
target_link_libraries (timew_executable timew libshared commands ${TIMEW_LIBRARIES})
target_link_libraries (lex_executable timew libshared ${TIMEW_LIBRARIES})
set_property (TARGET timew_executable PROPERTY OUTPUT_NAME "timew")
set_property (TARGET lex_executable PROPERTY OUTPUT_NAME "lex")