diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2022-02-08 16:33:37 +0100 |
---|---|---|
committer | Sefa Eyeoglu <contact@scrumplex.net> | 2022-02-12 16:10:53 +0100 |
commit | 6ba031f048621eaa1b7e1335662b5d7cb4103060 (patch) | |
tree | aaaed9a4a53fb884e2a3dc165fc86113a743650f | |
parent | 812f00eb81158bfb4c2d61b228c0c1c796641ac1 (diff) | |
download | PrismLauncher-6ba031f048621eaa1b7e1335662b5d7cb4103060.tar.gz PrismLauncher-6ba031f048621eaa1b7e1335662b5d7cb4103060.tar.bz2 PrismLauncher-6ba031f048621eaa1b7e1335662b5d7cb4103060.zip |
refactor(build): link iconfix statically
-rw-r--r-- | libraries/iconfix/CMakeLists.txt | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/libraries/iconfix/CMakeLists.txt b/libraries/iconfix/CMakeLists.txt index 52a31c68..049879c4 100644 --- a/libraries/iconfix/CMakeLists.txt +++ b/libraries/iconfix/CMakeLists.txt @@ -12,17 +12,9 @@ internal/qiconloader.cpp internal/qiconloader_p.h ) -add_library(Launcher_iconfix SHARED ${ICONFIX_SOURCES}) +add_library(Launcher_iconfix ${ICONFIX_SOURCES}) target_include_directories(Launcher_iconfix PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} "${CMAKE_CURRENT_BINARY_DIR}" ) target_link_libraries(Launcher_iconfix Qt5::Core Qt5::Widgets) -set_target_properties(Launcher_iconfix PROPERTIES CXX_VISIBILITY_PRESET hidden VISIBILITY_INLINES_HIDDEN 1) generate_export_header(Launcher_iconfix) - -# Install it -install( - TARGETS Launcher_iconfix - RUNTIME DESTINATION ${LIBRARY_DEST_DIR} - LIBRARY DESTINATION ${LIBRARY_DEST_DIR} -)
\ No newline at end of file |