Skip to content

Commit

Permalink
On linux, find the icu stuff, place it in the build dir so you can go…
Browse files Browse the repository at this point in the history
… to Results tab locally too. (+ install them explicitly)
  • Loading branch information
jmarrec committed May 28, 2021
1 parent cde9297 commit 5ace24e
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,16 @@ if(NOT APPLE)
# list(APPEND QT_PLUGINS Qt5::QXcbGlxIntegrationPlugin)
find_library(QT_QXCBQPA NAMES libQt5XcbQpa.so.${QT_VERSION} PATHS "${QT_INSTALL_DIR}/lib" NO_DEFAULT_PATH)

list(APPEND QT_EXTRA_LIBS ${QT_QXCBQPA})
find_library(QT_ICU icui18n REQUIRED PATHS "${QT_INSTALL_DIR}/lib" NO_DEFAULT_PATH)
find_library(QT_ICUDATA icudata REQUIRED PATHS "${QT_INSTALL_DIR}/lib" NO_DEFAULT_PATH)
find_library(QT_ICUUC icuuc REQUIRED PATHS "${QT_INSTALL_DIR}/lib" NO_DEFAULT_PATH)
set(QT_ICU_LIBS
${QT_ICU}
${QT_ICUDATA}
${QT_ICUUC}
)

list(APPEND QT_EXTRA_LIBS ${QT_QXCBQPA} ${QT_ICU_LIBS})
endif()
endif()

Expand Down

0 comments on commit 5ace24e

Please sign in to comment.