Skip to content

Commit

Permalink
set FCITX_LIBRARY_SUFFIX to dll on win32 (#1250)
Browse files Browse the repository at this point in the history
  • Loading branch information
eagleoflqj authored Feb 1, 2025
1 parent 018d952 commit ed3ce70
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,12 @@ set(FCITX_INSTALL_LOCALEDIR ${CMAKE_INSTALL_FULL_LOCALEDIR})
set(FCITX_INSTALL_ADDONDIR "${CMAKE_INSTALL_FULL_LIBDIR}/fcitx5")
set(FCITX_INSTALL_CMAKECONFIG_DIR "${CMAKE_INSTALL_FULL_LIBDIR}/cmake")
set(FCITX_INSTALL_MODULE_HEADER_DIR "${CMAKE_INSTALL_FULL_INCLUDEDIR}/Fcitx5/Module/fcitx-module")
# TODO mac/win
set(FCITX_LIBRARY_SUFFIX ".so")

if (WIN32)
set(FCITX_LIBRARY_SUFFIX ".dll")
else()
set(FCITX_LIBRARY_SUFFIX ".so")
endif()

check_function_exists(pipe2 HAVE_PIPE2)

Expand Down

0 comments on commit ed3ce70

Please sign in to comment.