Skip to content

Commit

Permalink
update lists
Browse files Browse the repository at this point in the history
  • Loading branch information
MoAlyousef committed Sep 20, 2023
1 parent ab77e99 commit ea4d7f9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -197,14 +197,16 @@ include(GNUInstallDirs)
if(UNIX AND NOT APPLE)
string(APPEND pc_req_private " x11 xinerama xcursor xfixes xext xrender xft fontconfig libjpeg libpng zlib cairo pango pangoxft pangocairo gobject-2.0 wayland-client wayland-cursor xkbcommon")
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
string(APPEND pc_libs_private " -ldbus-1 -pthread")
string(APPEND pc_libs_private " -ldbus-1 -lsupc++ -pthread")
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
string(APPEND pc_libs_private " -ldbus-1 -lcxxrt")
endif()
elseif(APPLE)
string(APPEND pc_libs_private " -framework Cocoa -framework Carbon -framework ApplicationServices -framework OpenGL -lc++abi")
elseif(WIN32)
string(APPEND pc_libs_private " -lgdiplus -lws2_32 -lcomctl32 -lgdi32 -loleaut32 -lole32 -luuid -lshell32 -ladvapi32 -lcomdlg32 -lwinspool -luser32 -lkernel32 -lodbc32")
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
string(APPEND pc_libs_private " -lgcc -pthread")
string(APPEND pc_libs_private " -lgcc -lsupc++ -pthread")
endif()
endif()

Expand Down

0 comments on commit ea4d7f9

Please sign in to comment.