mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-19 19:03:07 +02:00
build: Fix linking problem on non-OS-X platforms
This commit is contained in:
parent
d59da51088
commit
b59f36a614
1 changed files with 4 additions and 4 deletions
|
@ -52,10 +52,10 @@ add_executable (task_executable main.cpp)
|
|||
add_executable (calc_executable calc.cpp)
|
||||
add_executable (lex_executable lex.cpp)
|
||||
|
||||
# Yes, 'task' is included twice, otherwise linking fails on assorted OSes.
|
||||
target_link_libraries (task_executable task commands columns libshared task ${TASK_LIBRARIES})
|
||||
target_link_libraries (calc_executable task commands columns libshared task ${TASK_LIBRARIES})
|
||||
target_link_libraries (lex_executable task commands columns libshared task ${TASK_LIBRARIES})
|
||||
# Yes, 'task' (and hence libshared) is included twice, otherwise linking fails on assorted OSes.
|
||||
target_link_libraries (task_executable task commands columns libshared task libshared ${TASK_LIBRARIES})
|
||||
target_link_libraries (calc_executable task commands columns libshared task libshared ${TASK_LIBRARIES})
|
||||
target_link_libraries (lex_executable task commands columns libshared task libshared ${TASK_LIBRARIES})
|
||||
|
||||
set_property (TARGET task_executable PROPERTY OUTPUT_NAME "task")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue