Linking Voodoo

- We have multiple inter-dependent libraries now, so linking is a pain.
This commit is contained in:
Paul Beckingham 2013-09-01 15:40:19 -04:00
parent 56c2326fda
commit 0bd6363e1c
2 changed files with 3 additions and 3 deletions

View file

@ -53,7 +53,7 @@ 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 parser task ${TASK_LIBRARIES})
target_link_libraries (task_executable task commands columns parser task commands columns ${TASK_LIBRARIES})
set_property (TARGET task_executable PROPERTY OUTPUT_NAME "task")