From 76b3dfaa8bdb354a000ed850858f41afed009bf4 Mon Sep 17 00:00:00 2001 From: Thomas Lauf Date: Sun, 24 Dec 2023 12:35:11 +0100 Subject: [PATCH] Fix compile error on Linux Signed-off-by: Thomas Lauf --- src/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 48d6a881..e8888b13 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -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_LIBRARIES}) -target_link_libraries (lex_executable timew libshared ${TIMEW_LIBRARIES}) +target_link_libraries (timew_executable timew commands timew libshared ${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")