Linkage
- More link order changes.
This commit is contained in:
@@ -55,8 +55,8 @@ set (task_SRCS A3.cpp A3.h
|
|||||||
add_library (task STATIC ${task_SRCS})
|
add_library (task STATIC ${task_SRCS})
|
||||||
add_executable (task_executable main.cpp)
|
add_executable (task_executable main.cpp)
|
||||||
|
|
||||||
# Yes, 'task' is included twice, other linking fails on CentOS.
|
# Yes, 'task' is included twice, other linking fails on assorted OSes.
|
||||||
target_link_libraries (task_executable task commands columns ${TASK_LIBRARIES})
|
target_link_libraries (task_executable task commands columns task ${TASK_LIBRARIES})
|
||||||
|
|
||||||
set_property (TARGET task_executable PROPERTY OUTPUT_NAME "task")
|
set_property (TARGET task_executable PROPERTY OUTPUT_NAME "task")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user