Merge pull request #7095 from lioncash/cmake
Common/CMakeLists: Link in libraries privately for traversal_server
This commit is contained in:
commit
bbc2253949
|
@ -159,10 +159,10 @@ if(UNIX)
|
|||
add_executable(traversal_server TraversalServer.cpp)
|
||||
target_link_libraries(traversal_server PRIVATE common)
|
||||
if(SYSTEMD_FOUND)
|
||||
target_link_libraries(traversal_server ${SYSTEMD_LIBRARIES})
|
||||
target_link_libraries(traversal_server PRIVATE ${SYSTEMD_LIBRARIES})
|
||||
endif()
|
||||
if(HAIKU)
|
||||
target_link_libraries(traversal_server network)
|
||||
target_link_libraries(traversal_server PRIVATE network)
|
||||
endif()
|
||||
elseif(WIN32)
|
||||
target_link_libraries(common PRIVATE "-INCLUDE:enableCompatPatches")
|
||||
|
|
Loading…
Reference in New Issue