2022-03-19 17:08:28 +00:00
|
|
|
cmake_minimum_required(VERSION 3.9.4)
|
2015-03-01 21:20:57 +00:00
|
|
|
project(iconfix)
|
|
|
|
|
|
|
|
find_package(Qt5Core REQUIRED QUIET)
|
|
|
|
find_package(Qt5Widgets REQUIRED QUIET)
|
|
|
|
|
|
|
|
set(ICONFIX_SOURCES
|
|
|
|
xdgicon.h
|
|
|
|
xdgicon.cpp
|
|
|
|
internal/qhexstring_p.h
|
|
|
|
internal/qiconloader.cpp
|
|
|
|
internal/qiconloader_p.h
|
|
|
|
)
|
|
|
|
|
2022-04-21 13:34:44 +01:00
|
|
|
add_library(Launcher_iconfix STATIC ${ICONFIX_SOURCES})
|
2021-10-13 00:59:25 +01:00
|
|
|
target_include_directories(Launcher_iconfix PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} "${CMAKE_CURRENT_BINARY_DIR}" )
|
2015-09-28 19:53:46 +01:00
|
|
|
|
2021-10-13 00:59:25 +01:00
|
|
|
target_link_libraries(Launcher_iconfix Qt5::Core Qt5::Widgets)
|
2017-05-05 08:43:20 +01:00
|
|
|
|
2021-10-13 00:59:25 +01:00
|
|
|
generate_export_header(Launcher_iconfix)
|