Commit 939893c 1 parent 33101c0 commit 939893c Copy full SHA for 939893c
File tree 3 files changed +6
-2
lines changed
3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,10 @@ set(rime_extra_deps
45
45
${Marisa_LIBRARY}
46
46
${Opencc_LIBRARY} )
47
47
48
+ if (MINGW)
49
+ set (rime_core_deps ${rime_core_deps} wsock32 ws2_32)
50
+ endif ()
51
+
48
52
if (BUILD_SEPARATE_LIBS)
49
53
set (rime_deps ${rime_core_deps} )
50
54
set (rime_gears_deps ${rime_library} ${rime_extra_deps} )
Original file line number Diff line number Diff line change 1
- if (NOT (MSVC AND BUILD_SHARED_LIBS ))
1
+ if (NOT (WIN32 AND BUILD_SHARED_LIBS ))
2
2
3
3
aux_source_directory (. rime_test_src)
4
4
set (EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR} /test )
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ target_link_libraries(rime_patch ${rime_library} ${rime_gears_library})
11
11
add_dependencies (rime_patch ${rime_library} ${rime_gears_library} )
12
12
13
13
# msvc doesn't export all symbols
14
- if (NOT (MSVC AND BUILD_SHARED_LIBS ))
14
+ if (NOT (WIN32 AND BUILD_SHARED_LIBS ))
15
15
16
16
set (rime_console_src "rime_console.cc" )
17
17
add_executable (rime_console ${rime_console_src} )
You can’t perform that action at this time.
0 commit comments