mirror of
https://github.com/DaedalusX64/daedalus.git
synced 2025-04-02 10:21:48 -04:00
16 lines
469 B
CMake
16 lines
469 B
CMake
add_library(Graphics OBJECT
|
|
ColourValue.cpp
|
|
HvqmTask.cpp
|
|
JpegTask.cpp
|
|
PngUtil.cpp
|
|
TextureTransform.cpp
|
|
)
|
|
|
|
target_include_directories(Graphics PUBLIC ${PNG_INCLUDE_DIRS})
|
|
|
|
if(DAEDALUS_PROFILE_GRAPHICS)
|
|
target_compile_options(Graphics PRIVATE -pg)
|
|
endif(DAEDALUS_PROFILE_GRAPHICS)
|
|
|
|
list(APPEND daed_libs "Graphics")
|
|
set(daed_libs ${daed_libs} PARENT_SCOPE)
|