Browse Source

Also apply LIB_ONLY for shared library, fix #2443

pull/2685/head
Jamis Hoo 4 years ago
parent
commit
bbb2849b60
No known key found for this signature in database GPG Key ID: 33DA95C445EB285F
1 changed files with 1 additions and 1 deletions
  1. 2
      src/CMakeLists.txt

2
src/CMakeLists.txt

@ -206,7 +206,7 @@ target_compile_definitions(ss-tunnel-shared PUBLIC -DMODULE_TUNNEL)
target_compile_definitions(ss-manager-shared PUBLIC -DMODULE_MANAGER)
target_compile_definitions(ss-local-shared PUBLIC -DMODULE_LOCAL)
target_compile_definitions(ss-redir-shared PUBLIC -DMODULE_REDIR)
target_compile_definitions(shadowsocks-libev-shared PUBLIC -DMODULE_LOCAL)
target_compile_definitions(shadowsocks-libev-shared PUBLIC -DMODULE_LOCAL -DLIB_ONLY)
target_include_directories(shadowsocks-libev-shared PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})

Loading…
Cancel
Save