mirror of
https://github.com/SerenityOS/serenity.git
synced 2026-11-07 04:29:30 -10:00
15 lines
622 B
CMake
15 lines
622 B
CMake
set(IMAGE_DECODER_SOURCE_DIR ${SERENITY_SOURCE_DIR}/Userland/Services/ImageDecoder)
|
|
|
|
set(IMAGE_DECODER_SOURCES
|
|
${IMAGE_DECODER_SOURCE_DIR}/ConnectionFromClient.cpp
|
|
)
|
|
|
|
add_library(imagedecoder STATIC ${IMAGE_DECODER_SOURCES})
|
|
|
|
add_executable(ImageDecoder main.cpp)
|
|
target_link_libraries(ImageDecoder PRIVATE imagedecoder LibCore LibMain)
|
|
|
|
target_include_directories(imagedecoder PRIVATE ${SERENITY_SOURCE_DIR}/Userland/Services/)
|
|
target_include_directories(imagedecoder PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/..)
|
|
target_link_libraries(imagedecoder PRIVATE LibCore LibGfx LibIPC LibImageDecoderClient LibMain LibThreading)
|