Permalink
Browse files

Merge pull request #7095 from lioncash/cmake

Common/CMakeLists: Link in libraries privately for traversal_server
  • Loading branch information...
leoetlino committed Jun 9, 2018
2 parents 48b7cfa + d1e2782 commit bbc2253949fb2b98ec570ded4430275ef9ef06d0
Showing with 2 additions and 2 deletions.
  1. +2 −2 Source/Core/Common/CMakeLists.txt
@@ -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")

0 comments on commit bbc2253

Please sign in to comment.