diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-12 10:22:28 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-12 20:25:48 +0900 |
| commit | f7d83fbf8c722615d0e791a692ee20126a7bacf1 (patch) | |
| tree | 8e77c9dd2d1eeb05686adbcee982a0b330bceec1 /src | |
| parent | d9988d6314d4901ce9dc807be5f48ca61554691c (diff) | |
| download | gwenview-f7d83fbf.tar.gz gwenview-f7d83fbf.zip | |
Improve code for detection of architecture and MMX support
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit a453c2f10b555d82aaafacc8815071835c13e719)
Diffstat (limited to 'src')
| -rw-r--r-- | src/imageutils/CMakeLists.txt | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/src/imageutils/CMakeLists.txt b/src/imageutils/CMakeLists.txt index 88257bd..4cfcc9a 100644 --- a/src/imageutils/CMakeLists.txt +++ b/src/imageutils/CMakeLists.txt @@ -8,21 +8,11 @@ include_directories( ##### gvimageutils (static) -set( gvimageutils_SRCS imageutils.cpp jpegcontent.cpp scale.cpp transupp.c croppedqimage.cpp ) - -if( HAVE_X86_MMX ) - list( APPEND gvimageutils_SRCS asm_scale.S ) - - # Force to use C compiler for asm_scale.S instead of ASM - # because it contains mixed code - ASM with C definitions - set_source_files_properties( asm_scale.S PROPERTIES LANGUAGE C ) - - add_compile_options( -DHAVE_X86_MMX ) -endif( ) - tde_add_library( gvimageutils STATIC_PIC AUTOMOC - SOURCES ${gvimageutils_SRCS} - LINK tdecore-shared tdeio-shared ${EXIV2_LIBRARIES} ${JPEG_LIBRARIES} + SOURCES + imageutils.cpp jpegcontent.cpp scale.cpp transupp.c croppedqimage.cpp asm_scale.S + LINK + tdecore-shared tdeio-shared ${EXIV2_LIBRARIES} ${JPEG_LIBRARIES} ) |
