From 14e017695ed9c4ef84270280276e96a60c4a0401 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 19 Oct 2013 22:57:23 -0400 Subject: [PATCH] Linkage - More link order changes. --- src/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 4afaebcb2..fcb41196b 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -55,8 +55,8 @@ set (task_SRCS A3.cpp A3.h add_library (task STATIC ${task_SRCS}) add_executable (task_executable main.cpp) -# Yes, 'task' is included twice, other linking fails on CentOS. -target_link_libraries (task_executable task commands columns ${TASK_LIBRARIES}) +# Yes, 'task' is included twice, other linking fails on assorted OSes. +target_link_libraries (task_executable task commands columns task ${TASK_LIBRARIES}) set_property (TARGET task_executable PROPERTY OUTPUT_NAME "task")