diff options
author | Petr Mrázek <peterix@gmail.com> | 2015-03-01 22:20:57 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2015-03-01 22:20:57 +0100 |
commit | ceec70e014db629aa8ba3472839cc42781d73d4c (patch) | |
tree | 1de0150b51fceb85d9ffa330b3dcd70580b33082 /depends/iconfix/CMakeLists.txt | |
parent | ef34cafe174271a423418d7eb68c4b4096642223 (diff) | |
download | PrismLauncher-ceec70e014db629aa8ba3472839cc42781d73d4c.tar.gz PrismLauncher-ceec70e014db629aa8ba3472839cc42781d73d4c.tar.bz2 PrismLauncher-ceec70e014db629aa8ba3472839cc42781d73d4c.zip |
GH-796 Icon theme loading workaround
Replacing the Qt machinery with other Qt machinery under our control
Diffstat (limited to 'depends/iconfix/CMakeLists.txt')
-rw-r--r-- | depends/iconfix/CMakeLists.txt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/depends/iconfix/CMakeLists.txt b/depends/iconfix/CMakeLists.txt new file mode 100644 index 00000000..53d8c28e --- /dev/null +++ b/depends/iconfix/CMakeLists.txt @@ -0,0 +1,20 @@ +cmake_minimum_required(VERSION 2.8.11) +project(iconfix) + +find_package(Qt5Core REQUIRED QUIET) +find_package(Qt5Widgets REQUIRED QUIET) + +include_directories(${Qt5Core_INCLUDE_DIRS}) +include_directories(${Qt5Widgets_INCLUDE_DIRS}) + +set(ICONFIX_SOURCES +xdgicon.h +xdgicon.cpp +internal/qhexstring_p.h +internal/qiconloader.cpp +internal/qiconloader_p.h +) + +set(ICONFIX_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}" PARENT_SCOPE) +add_library(iconfix STATIC ${ICONFIX_SOURCES}) +qt5_use_modules(iconfix Core Widgets) |