mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Build
- Need to link to libtask.a twice. Nice.
This commit is contained in:
parent
0260aff441
commit
398380d390
1 changed files with 4 additions and 1 deletions
|
@ -59,7 +59,10 @@ set (task_SRCS API.cpp API.h
|
|||
|
||||
add_library (task STATIC ${task_SRCS})
|
||||
add_executable (task_executable main.cpp)
|
||||
target_link_libraries (task_executable task commands columns ${TASK_LIBRARIES})
|
||||
|
||||
# Yes, 'task' is included twice, other linking fails on CentOS.
|
||||
target_link_libraries (task_executable task commands columns task ${TASK_LIBRARIES})
|
||||
|
||||
set_property (TARGET task_executable PROPERTY OUTPUT_NAME "task")
|
||||
|
||||
install (TARGETS task_executable DESTINATION ${TASK_BINDIR})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue