mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-12-25 17:49:52 +03:00
CMake: Link Cedar to Mayaqua directly
It's Cedar itself that depends on Mayaqua, not the executables.
This commit is contained in:
parent
4eae5820f6
commit
4328e6e5ab
@ -19,6 +19,8 @@ set_target_properties(cedar
|
||||
RUNTIME_OUTPUT_DIRECTORY "${BUILD_DIRECTORY}"
|
||||
)
|
||||
|
||||
target_link_libraries(cedar PUBLIC mayaqua)
|
||||
|
||||
cmake_host_system_information(RESULT HAS_SSE2 QUERY HAS_SSE2)
|
||||
|
||||
set(BLAKE2_SRC_PATH $<IF:$<BOOL:${HAS_SSE2}>,${TOP_DIRECTORY}/3rdparty/BLAKE2/sse,${TOP_DIRECTORY}/3rdparty/BLAKE2/ref>)
|
||||
|
@ -12,4 +12,4 @@ set_target_properties(PenCore
|
||||
PDB_OUTPUT_DIRECTORY "${BUILD_DIRECTORY}"
|
||||
)
|
||||
|
||||
target_link_libraries(PenCore cedar mayaqua)
|
||||
target_link_libraries(PenCore)
|
||||
|
@ -29,7 +29,7 @@ set_target_properties(vpnbridge
|
||||
RUNTIME_OUTPUT_DIRECTORY "${BUILD_DIRECTORY}"
|
||||
)
|
||||
|
||||
target_link_libraries(vpnbridge cedar mayaqua)
|
||||
target_link_libraries(vpnbridge cedar)
|
||||
|
||||
if(UNIX)
|
||||
# Copy binary and "hamcore.se2" to /usr/lib(exec)/softether/, install launch script and systemd service
|
||||
|
@ -29,7 +29,7 @@ set_target_properties(vpnclient
|
||||
RUNTIME_OUTPUT_DIRECTORY "${BUILD_DIRECTORY}"
|
||||
)
|
||||
|
||||
target_link_libraries(vpnclient cedar mayaqua)
|
||||
target_link_libraries(vpnclient cedar)
|
||||
|
||||
if(UNIX)
|
||||
# Copy binary and "hamcore.se2" to /usr/lib(exec)/softether/, install launch script and systemd service
|
||||
|
@ -29,7 +29,7 @@ if(WIN32)
|
||||
)
|
||||
endif()
|
||||
|
||||
target_link_libraries(vpncmd cedar mayaqua)
|
||||
target_link_libraries(vpncmd cedar)
|
||||
|
||||
if(UNIX)
|
||||
# Copy binary and "hamcore.se2" to /usr/lib(exec)/softether/, install launch script
|
||||
|
@ -26,4 +26,4 @@ set_target_properties(vpncmgr
|
||||
PDB_OUTPUT_DIRECTORY "${BUILD_DIRECTORY}"
|
||||
)
|
||||
|
||||
target_link_libraries(vpncmgr cedar mayaqua)
|
||||
target_link_libraries(vpncmgr cedar)
|
||||
|
@ -29,7 +29,7 @@ set_target_properties(vpnserver
|
||||
RUNTIME_OUTPUT_DIRECTORY "${BUILD_DIRECTORY}"
|
||||
)
|
||||
|
||||
target_link_libraries(vpnserver cedar mayaqua)
|
||||
target_link_libraries(vpnserver cedar)
|
||||
|
||||
if(UNIX)
|
||||
# Copy binary and "hamcore.se2" to /usr/lib(exec)/softether/, install launch script and systemd service
|
||||
|
@ -26,4 +26,4 @@ set_target_properties(vpnsetup
|
||||
PDB_OUTPUT_DIRECTORY "${BUILD_DIRECTORY}"
|
||||
)
|
||||
|
||||
target_link_libraries(vpnsetup cedar mayaqua)
|
||||
target_link_libraries(vpnsetup cedar)
|
||||
|
@ -26,4 +26,4 @@ set_target_properties(vpnsmgr
|
||||
PDB_OUTPUT_DIRECTORY "${BUILD_DIRECTORY}"
|
||||
)
|
||||
|
||||
target_link_libraries(vpnsmgr cedar mayaqua)
|
||||
target_link_libraries(vpnsmgr cedar)
|
||||
|
@ -29,4 +29,4 @@ if(WIN32)
|
||||
)
|
||||
endif()
|
||||
|
||||
target_link_libraries(vpntest cedar mayaqua)
|
||||
target_link_libraries(vpntest cedar)
|
||||
|
Loading…
Reference in New Issue
Block a user