Merge pull request #477 from flowln/iconfix_static

Always build iconfix as static library
This commit is contained in:
Sefa Eyeoglu 2022-04-28 07:18:22 +02:00 committed by GitHub
commit a507907443
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,7 +12,7 @@ internal/qiconloader.cpp
internal/qiconloader_p.h internal/qiconloader_p.h
) )
add_library(Launcher_iconfix ${ICONFIX_SOURCES}) add_library(Launcher_iconfix STATIC ${ICONFIX_SOURCES})
target_include_directories(Launcher_iconfix PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} "${CMAKE_CURRENT_BINARY_DIR}" ) target_include_directories(Launcher_iconfix PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} "${CMAKE_CURRENT_BINARY_DIR}" )
target_link_libraries(Launcher_iconfix Qt5::Core Qt5::Widgets) target_link_libraries(Launcher_iconfix Qt5::Core Qt5::Widgets)