CMake: added missing link flags to bnetserver
This commit is contained in:
1 parent
0ca955897f
commit
3e334182bd
1 file changed
+8
-1
@@ -39,12 +39,19 @@ if (NOT WIN32)
|
||||
)
|
||||
endif()
|
||||
|
||||
if( UNIX AND NOT NOJEM AND NOT APPLE )
|
||||
set(bnetserver_LINK_FLAGS "-pthread -lncurses ${bnetserver_LINK_FLAGS}")
|
||||
endif()
|
||||
|
||||
set_target_properties(bnetserver PROPERTIES LINK_FLAGS "${bnetserver_LINK_FLAGS}")
|
||||
|
||||
target_link_libraries(bnetserver
|
||||
PRIVATE
|
||||
trinity-core-interface
|
||||
PUBLIC
|
||||
shared
|
||||
ipc)
|
||||
ipc
|
||||
${READLINE_LIBRARY})
|
||||
|
||||
CollectIncludeDirectories(
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
|
||||
Reference in new issue
Block a user