SineStriker
2023-12-22 a5d13e19dd7f6037e10b649c49805922ae5e0fa6
src/stylesupport/CMakeLists.txt
@@ -5,11 +5,36 @@
set(_src
    qwkstylesupportglobal.h
    styleagent.h
    styleagent_p.h
    styleagent.cpp
)
set(_links_private)
if(WIN32)
    list(APPEND _src
        styleagent_win.cpp
    )
elseif(APPLE)
    list(APPEND _links_private
        "-framework Foundation"
        "-framework Cocoa"
        "-framework AppKit"
    )
    list(APPEND _src
        styleagent_mac.cpp
    )
else()
    list(APPEND _src
        styleagent_linux.cpp
    )
endif()
qwk_add_library(${PROJECT_NAME} AUTOGEN
    SOURCES ${_src}
    LINKS QWKCore
    LINKS_PRIVATE ${_links_private}
    QT_LINKS Core Gui
    QT_INCLUDE_PRIVATE Core Gui
    PREFIX QWK_STYLESUPPORT