diff options
author | Petr Mrázek <peterix@gmail.com> | 2015-09-28 20:53:46 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2015-09-28 20:53:46 +0200 |
commit | 143e24fa04f0126d91b65b4035dd6ec556c79b00 (patch) | |
tree | ee0e78b50e9c433bb43149f503694843b9f2eae2 /depends/iconfix | |
parent | 33c3850b40aba095b056738448c235190aeb1aab (diff) | |
download | MultiMC-143e24fa04f0126d91b65b4035dd6ec556c79b00.tar MultiMC-143e24fa04f0126d91b65b4035dd6ec556c79b00.tar.gz MultiMC-143e24fa04f0126d91b65b4035dd6ec556c79b00.tar.lz MultiMC-143e24fa04f0126d91b65b4035dd6ec556c79b00.tar.xz MultiMC-143e24fa04f0126d91b65b4035dd6ec556c79b00.zip |
NOISSUE clean up some old cmake messes
Diffstat (limited to 'depends/iconfix')
-rw-r--r-- | depends/iconfix/CMakeLists.txt | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/depends/iconfix/CMakeLists.txt b/depends/iconfix/CMakeLists.txt index 53d8c28e..4dfc39a9 100644 --- a/depends/iconfix/CMakeLists.txt +++ b/depends/iconfix/CMakeLists.txt @@ -1,12 +1,9 @@ -cmake_minimum_required(VERSION 2.8.11) +cmake_minimum_required(VERSION 3.1) 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 @@ -15,6 +12,7 @@ internal/qiconloader.cpp internal/qiconloader_p.h ) -set(ICONFIX_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}" PARENT_SCOPE) add_library(iconfix STATIC ${ICONFIX_SOURCES}) +target_include_directories(iconfix PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) + qt5_use_modules(iconfix Core Widgets) |