mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 08:09:26 +01:00
Common/CMakeLists: Link in libraries privately for traversal_server
Without this, CMake script errors can occur, as explicit linkage specifiers and non-explicit specifier commands aren't compatible with one another.
This commit is contained in:
parent
48b7cfa75c
commit
d1e278218e
@ -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…
x
Reference in New Issue
Block a user